Class StorageAccountCredentialProperties

java.lang.Object
com.azure.resourcemanager.databoxedge.fluent.models.StorageAccountCredentialProperties

public final class StorageAccountCredentialProperties extends Object
The storage account credential properties.
  • Constructor Details

    • StorageAccountCredentialProperties

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

    • alias

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

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

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

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

      public AsymmetricEncryptedSecret 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

      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 StorageAccountCredentialProperties 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 StorageAccountCredentialProperties 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 StorageAccountCredentialProperties 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 StorageAccountCredentialProperties object itself.
    • blobDomainName

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

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

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

      public StorageAccountCredentialProperties withAccountType(AccountType accountType)
      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

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

      public StorageAccountCredentialProperties withStorageAccountId(String storageAccountId)
      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.