Share via


UnencryptedCredentialsList Class

  • java.lang.Object
    • com.azure.resourcemanager.databox.models.UnencryptedCredentialsList

Implements

public final class UnencryptedCredentialsList
implements JsonSerializable<UnencryptedCredentialsList>

List of unencrypted credentials for accessing device.

Constructor Summary

Constructor Description
UnencryptedCredentialsList()

Creates an instance of UnencryptedCredentialsList class.

Method Summary

Modifier and Type Method and Description
static UnencryptedCredentialsList fromJson(JsonReader jsonReader)

Reads an instance of UnencryptedCredentialsList from the JsonReader.

String nextLink()

Get the nextLink property: Link for the next set of unencrypted credentials.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<UnencryptedCredentialsInner> value()

Get the value property: List of unencrypted credentials.

UnencryptedCredentialsList withNextLink(String nextLink)

Set the nextLink property: Link for the next set of unencrypted credentials.

UnencryptedCredentialsList withValue(List<UnencryptedCredentialsInner> value)

Set the value property: List of unencrypted credentials.

Methods inherited from java.lang.Object

Constructor Details

UnencryptedCredentialsList

public UnencryptedCredentialsList()

Creates an instance of UnencryptedCredentialsList class.

Method Details

fromJson

public static UnencryptedCredentialsList fromJson(JsonReader jsonReader)

Reads an instance of UnencryptedCredentialsList from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of UnencryptedCredentialsList if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the UnencryptedCredentialsList.

nextLink

public String nextLink()

Get the nextLink property: Link for the next set of unencrypted credentials.

Returns:

the nextLink value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

value

public List<UnencryptedCredentialsInner> value()

Get the value property: List of unencrypted credentials.

Returns:

the value value.

withNextLink

public UnencryptedCredentialsList withNextLink(String nextLink)

Set the nextLink property: Link for the next set of unencrypted credentials.

Parameters:

nextLink - the nextLink value to set.

Returns:

the UnencryptedCredentialsList object itself.

withValue

public UnencryptedCredentialsList withValue(List<UnencryptedCredentialsInner> value)

Set the value property: List of unencrypted credentials.

Parameters:

value - the value value to set.

Returns:

the UnencryptedCredentialsList object itself.

Applies to