StorageAccount Class
- java.
lang. Object - com.
azure. resourcemanager. streamanalytics. models. StorageAccount
- com.
Implements
public class StorageAccount
implements JsonSerializable<StorageAccount>
The properties that are associated with an Azure Storage account.
Constructor Summary
Constructor | Description |
---|---|
StorageAccount() |
Creates an instance of Storage |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
accountKey()
Get the account |
String |
accountName()
Get the account |
Authentication |
authenticationMode()
Get the authentication |
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Storage |
withAccountKey(String accountKey)
Set the account |
Storage |
withAccountName(String accountName)
Set the account |
Storage |
withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authentication |
Methods inherited from java.lang.Object
Constructor Details
StorageAccount
public StorageAccount()
Creates an instance of StorageAccount class.
Method Details
accountKey
public String accountKey()
Get the accountKey property: The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests.
Returns:
accountName
public String accountName()
Get the accountName property: The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests.
Returns:
authenticationMode
public AuthenticationMode authenticationMode()
Get the authenticationMode property: Authentication Mode.
Returns:
fromJson
public static StorageAccount fromJson(JsonReader jsonReader)
Reads an instance of StorageAccount from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withAccountKey
public StorageAccount withAccountKey(String accountKey)
Set the accountKey property: The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests.
Parameters:
Returns:
withAccountName
public StorageAccount withAccountName(String accountName)
Set the accountName property: The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests.
Parameters:
Returns:
withAuthenticationMode
public StorageAccount withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authenticationMode property: Authentication Mode.
Parameters:
Returns:
Applies to
Azure SDK for Java