Class StorageAccountCredentialInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.databoxedge.models.ArmBaseModel
com.azure.resourcemanager.databoxedge.fluent.models.StorageAccountCredentialInner

public final class StorageAccountCredentialInner extends ArmBaseModel
The storage account credential.
  • Constructor Details

    • StorageAccountCredentialInner

      public StorageAccountCredentialInner()
      Creates an instance of StorageAccountCredentialInner class.
  • Method Details

    • alias

      public String alias()
      Get the alias property: Alias for the storage account.
      Returns:
      the alias value.
    • withAlias

      public StorageAccountCredentialInner withAlias(String alias)
      Set the alias property: Alias for the storage account.
      Parameters:
      alias - the alias value to set.
      Returns:
      the StorageAccountCredentialInner object itself.
    • username

      public String username()
      Get the username property: Username for the storage account.
      Returns:
      the username value.
    • withUsername

      public StorageAccountCredentialInner withUsername(String username)
      Set the username property: Username for the storage account.
      Parameters:
      username - the username value to set.
      Returns:
      the StorageAccountCredentialInner object itself.
    • accountKey

      public AsymmetricEncryptedSecret accountKey()
      Get the accountKey property: Encrypted storage key.
      Returns:
      the accountKey value.
    • withAccountKey

      public StorageAccountCredentialInner withAccountKey(AsymmetricEncryptedSecret accountKey)
      Set the accountKey property: Encrypted storage key.
      Parameters:
      accountKey - the accountKey value to set.
      Returns:
      the StorageAccountCredentialInner object itself.
    • 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:
      the connectionString value.
    • 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:
      connectionString - the connectionString value to set.
      Returns:
      the StorageAccountCredentialInner object itself.
    • sslStatus

      public SslStatus sslStatus()
      Get the sslStatus property: Signifies whether SSL needs to be enabled or not.
      Returns:
      the sslStatus value.
    • withSslStatus

      public StorageAccountCredentialInner withSslStatus(SslStatus sslStatus)
      Set the sslStatus property: Signifies whether SSL needs to be enabled or not.
      Parameters:
      sslStatus - the sslStatus value to set.
      Returns:
      the StorageAccountCredentialInner object itself.
    • blobDomainName

      public String blobDomainName()
      Get the blobDomainName property: Blob end point for private clouds.
      Returns:
      the blobDomainName value.
    • withBlobDomainName

      public StorageAccountCredentialInner withBlobDomainName(String blobDomainName)
      Set the blobDomainName property: Blob end point for private clouds.
      Parameters:
      blobDomainName - the blobDomainName value to set.
      Returns:
      the StorageAccountCredentialInner object itself.
    • accountType

      public AccountType accountType()
      Get the accountType property: Type of storage accessed on the storage account.
      Returns:
      the accountType value.
    • withAccountType

      public StorageAccountCredentialInner withAccountType(AccountType accountType)
      Set the accountType property: Type of storage accessed on the storage account.
      Parameters:
      accountType - the accountType value to set.
      Returns:
      the StorageAccountCredentialInner object itself.
    • storageAccountId

      public String storageAccountId()
      Get the storageAccountId property: Id of the storage account.
      Returns:
      the storageAccountId value.
    • withStorageAccountId

      public StorageAccountCredentialInner withStorageAccountId(String storageAccountId)
      Set the storageAccountId property: Id of the storage account.
      Parameters:
      storageAccountId - the storageAccountId value to set.
      Returns:
      the StorageAccountCredentialInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class ArmBaseModel
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.