Class StorageAccount
- java.lang.Object
-
- com.azure.resourcemanager.streamanalytics.models.StorageAccount
-
- Direct Known Subclasses:
JobStorageAccount
public class StorageAccount extends Object
The properties that are associated with an Azure Storage account.
-
-
Constructor Summary
Constructors Constructor Description StorageAccount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
accountKey()
Get the accountKey property: The account key for the Azure Storage account.String
accountName()
Get the accountName property: The name of the Azure Storage account.void
validate()
Validates the instance.StorageAccount
withAccountKey(String accountKey)
Set the accountKey property: The account key for the Azure Storage account.StorageAccount
withAccountName(String accountName)
Set the accountName property: The name of the Azure Storage account.
-
-
-
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.
-
-