StorageAccountCredentialInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. databoxedge. models. ArmBaseModel - com.
azure. resourcemanager. databoxedge. fluent. models. StorageAccountCredentialInner
- com.
- com.
- com.
public final class StorageAccountCredentialInner
extends ArmBaseModel
The storage account credential.
Constructor Summary
| Constructor | Description |
|---|---|
| StorageAccountCredentialInner() |
Creates an instance of Storage |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Asymmetric |
accountKey()
Get the account |
|
Account |
accountType()
Get the account |
| String |
alias()
Get the alias property: Alias for the storage account. |
| String |
blobDomainName()
Get the blob |
| String |
connectionString()
Get the connection |
|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
|
Ssl |
sslStatus()
Get the ssl |
| String |
storageAccountId()
Get the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| String |
username()
Get the username property: Username for the storage account. |
| void |
validate()
Validates the instance. |
|
Storage |
withAccountKey(AsymmetricEncryptedSecret accountKey)
Set the account |
|
Storage |
withAccountType(AccountType accountType)
Set the account |
|
Storage |
withAlias(String alias)
Set the alias property: Alias for the storage account. |
|
Storage |
withBlobDomainName(String blobDomainName)
Set the blob |
|
Storage |
withConnectionString(String connectionString)
Set the connection |
|
Storage |
withSslStatus(SslStatus sslStatus)
Set the ssl |
|
Storage |
withStorageAccountId(String storageAccountId)
Set the storage |
|
Storage |
withUsername(String username)
Set the username property: Username for the storage account. |
Methods inherited from ArmBaseModel
Methods inherited from java.lang.Object
Constructor Details
StorageAccountCredentialInner
public StorageAccountCredentialInner()
Creates an instance of StorageAccountCredentialInner class.
Method Details
accountKey
public AsymmetricEncryptedSecret accountKey()
Get the accountKey property: Encrypted storage key.
Returns:
accountType
public AccountType accountType()
Get the accountType property: Type of storage accessed on the storage account.
Returns:
alias
public String alias()
Get the alias property: Alias for the storage account.
Returns:
blobDomainName
public String blobDomainName()
Get the blobDomainName property: Blob end point for private clouds.
Returns:
connectionString
public String connectionString()
Get the connectionString property: Connection string for the storage account. Use this string if username and account key are not specified.
Returns:
fromJson
public static StorageAccountCredentialInner fromJson(JsonReader jsonReader)
Reads an instance of StorageAccountCredentialInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
StorageAccountCredentialInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
StorageAccountCredentialInner.name()Returns:
sslStatus
public SslStatus sslStatus()
Get the sslStatus property: Signifies whether SSL needs to be enabled or not.
Returns:
storageAccountId
public String storageAccountId()
Get the storageAccountId property: Id of the storage account.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
StorageAccountCredentialInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
StorageAccountCredentialInner.type()Returns:
username
public String username()
Get the username property: Username for the storage account.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
StorageAccountCredentialInner.validate()withAccountKey
public StorageAccountCredentialInner withAccountKey(AsymmetricEncryptedSecret accountKey)
Set the accountKey property: Encrypted storage key.
Parameters:
Returns:
withAccountType
public StorageAccountCredentialInner withAccountType(AccountType accountType)
Set the accountType property: Type of storage accessed on the storage account.
Parameters:
Returns:
withAlias
public StorageAccountCredentialInner withAlias(String alias)
Set the alias property: Alias for the storage account.
Parameters:
Returns:
withBlobDomainName
public StorageAccountCredentialInner withBlobDomainName(String blobDomainName)
Set the blobDomainName property: Blob end point for private clouds.
Parameters:
Returns:
withConnectionString
public StorageAccountCredentialInner withConnectionString(String connectionString)
Set the connectionString property: Connection string for the storage account. Use this string if username and account key are not specified.
Parameters:
Returns:
withSslStatus
public StorageAccountCredentialInner withSslStatus(SslStatus sslStatus)
Set the sslStatus property: Signifies whether SSL needs to be enabled or not.
Parameters:
Returns:
withStorageAccountId
public StorageAccountCredentialInner withStorageAccountId(String storageAccountId)
Set the storageAccountId property: Id of the storage account.
Parameters:
Returns:
withUsername
public StorageAccountCredentialInner withUsername(String username)
Set the username property: Username for the storage account.
Parameters:
Returns: