Class StorageAccountCredentialProperties
java.lang.Object
com.azure.resourcemanager.databoxedge.fluent.models.StorageAccountCredentialProperties
The storage account credential properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of StorageAccountCredentialProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the accountKey property: Encrypted storage key.Get the accountType property: Type of storage accessed on the storage account.alias()
Get the alias property: Alias for the storage account.Get the blobDomainName property: Blob end point for private clouds.Get the connectionString property: Connection string for the storage account.Get the sslStatus property: Signifies whether SSL needs to be enabled or not.Get the storageAccountId property: Id of the storage account.username()
Get the username property: Username for the storage account.void
validate()
Validates the instance.withAccountKey
(AsymmetricEncryptedSecret accountKey) Set the accountKey property: Encrypted storage key.withAccountType
(AccountType accountType) Set the accountType property: Type of storage accessed on the storage account.Set the alias property: Alias for the storage account.withBlobDomainName
(String blobDomainName) Set the blobDomainName property: Blob end point for private clouds.withConnectionString
(String connectionString) Set the connectionString property: Connection string for the storage account.withSslStatus
(SslStatus sslStatus) Set the sslStatus property: Signifies whether SSL needs to be enabled or not.withStorageAccountId
(String storageAccountId) Set the storageAccountId property: Id of the storage account.withUsername
(String username) Set the username property: Username for the storage account.
-
Constructor Details
-
StorageAccountCredentialProperties
public StorageAccountCredentialProperties()Creates an instance of StorageAccountCredentialProperties class.
-
-
Method Details
-
alias
Get the alias property: Alias for the storage account.- Returns:
- the alias value.
-
withAlias
Set the alias property: Alias for the storage account.- Parameters:
alias
- the alias value to set.- Returns:
- the StorageAccountCredentialProperties object itself.
-
username
Get the username property: Username for the storage account.- Returns:
- the username value.
-
withUsername
Set the username property: Username for the storage account.- Parameters:
username
- the username value to set.- Returns:
- the StorageAccountCredentialProperties object itself.
-
accountKey
Get the accountKey property: Encrypted storage key.- Returns:
- the accountKey value.
-
withAccountKey
Set the accountKey property: Encrypted storage key.- Parameters:
accountKey
- the accountKey value to set.- Returns:
- the StorageAccountCredentialProperties object itself.
-
connectionString
Get the connectionString property: Connection string for the storage account. Use this string if username and account key are not specified.- Returns:
- the connectionString value.
-
withConnectionString
Set the connectionString property: Connection string for the storage account. Use this string if username and account key are not specified.- Parameters:
connectionString
- the connectionString value to set.- Returns:
- the StorageAccountCredentialProperties object itself.
-
sslStatus
Get the sslStatus property: Signifies whether SSL needs to be enabled or not.- Returns:
- the sslStatus value.
-
withSslStatus
Set the sslStatus property: Signifies whether SSL needs to be enabled or not.- Parameters:
sslStatus
- the sslStatus value to set.- Returns:
- the StorageAccountCredentialProperties object itself.
-
blobDomainName
Get the blobDomainName property: Blob end point for private clouds.- Returns:
- the blobDomainName value.
-
withBlobDomainName
Set the blobDomainName property: Blob end point for private clouds.- Parameters:
blobDomainName
- the blobDomainName value to set.- Returns:
- the StorageAccountCredentialProperties object itself.
-
accountType
Get the accountType property: Type of storage accessed on the storage account.- Returns:
- the accountType value.
-
withAccountType
Set the accountType property: Type of storage accessed on the storage account.- Parameters:
accountType
- the accountType value to set.- Returns:
- the StorageAccountCredentialProperties object itself.
-
storageAccountId
Get the storageAccountId property: Id of the storage account.- Returns:
- the storageAccountId value.
-
withStorageAccountId
Set the storageAccountId property: Id of the storage account.- Parameters:
storageAccountId
- the storageAccountId value to set.- Returns:
- the StorageAccountCredentialProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-