Class StorageAccount

  • Direct Known Subclasses:
    JobStorageAccount

    public class StorageAccount
    extends Object
    The properties that are associated with an Azure Storage account.
    • Constructor Detail

      • StorageAccount

        public StorageAccount()
    • Method Detail

      • accountName

        public String accountName()
        Get the accountName property: The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests.
        Returns:
        the accountName value.
      • withAccountName

        public StorageAccount withAccountName​(String accountName)
        Set the accountName property: The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests.
        Parameters:
        accountName - the accountName value to set.
        Returns:
        the StorageAccount object itself.
      • accountKey

        public String accountKey()
        Get the accountKey property: The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests.
        Returns:
        the accountKey value.
      • withAccountKey

        public StorageAccount withAccountKey​(String accountKey)
        Set the accountKey property: The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests.
        Parameters:
        accountKey - the accountKey value to set.
        Returns:
        the StorageAccount object itself.
      • validate

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