Share via


AccountCredentialDetails Class

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

Implements

public final class AccountCredentialDetails
implements JsonSerializable<AccountCredentialDetails>

Credential details of the account.

Constructor Summary

Constructor Description
AccountCredentialDetails()

Creates an instance of AccountCredentialDetails class.

Method Summary

Modifier and Type Method and Description
String accountConnectionString()

Get the accountConnectionString property: Connection string of the account endpoint to use the account as a storage endpoint on the device.

String accountName()

Get the accountName property: Name of the account.

DataAccountType dataAccountType()

Get the dataAccountType property: Type of the account.

static AccountCredentialDetails fromJson(JsonReader jsonReader)

Reads an instance of AccountCredentialDetails from the JsonReader.

List<ShareCredentialDetails> shareCredentialDetails()

Get the shareCredentialDetails property: Per share level unencrypted access credentials.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

AccountCredentialDetails

public AccountCredentialDetails()

Creates an instance of AccountCredentialDetails class.

Method Details

accountConnectionString

public String accountConnectionString()

Get the accountConnectionString property: Connection string of the account endpoint to use the account as a storage endpoint on the device.

Returns:

the accountConnectionString value.

accountName

public String accountName()

Get the accountName property: Name of the account.

Returns:

the accountName value.

dataAccountType

public DataAccountType dataAccountType()

Get the dataAccountType property: Type of the account.

Returns:

the dataAccountType value.

fromJson

public static AccountCredentialDetails fromJson(JsonReader jsonReader)

Reads an instance of AccountCredentialDetails from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AccountCredentialDetails 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 AccountCredentialDetails.

shareCredentialDetails

public List<ShareCredentialDetails> shareCredentialDetails()

Get the shareCredentialDetails property: Per share level unencrypted access credentials.

Returns:

the shareCredentialDetails value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to