Class JobStorageAccount
- java.lang.Object
-
- com.azure.resourcemanager.streamanalytics.models.StorageAccount
-
- com.azure.resourcemanager.streamanalytics.models.JobStorageAccount
-
public final class JobStorageAccount extends StorageAccount
The properties that are associated with an Azure Storage account with MSI.
-
-
Constructor Summary
Constructors Constructor Description JobStorageAccount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationMode
authenticationMode()
Get the authenticationMode property: Authentication Mode.void
validate()
Validates the instance.JobStorageAccount
withAccountKey(String accountKey)
Set the accountKey property: The account key for the Azure Storage account.JobStorageAccount
withAccountName(String accountName)
Set the accountName property: The name of the Azure Storage account.JobStorageAccount
withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authenticationMode property: Authentication Mode.-
Methods inherited from class com.azure.resourcemanager.streamanalytics.models.StorageAccount
accountKey, accountName
-
-
-
-
Method Detail
-
authenticationMode
public AuthenticationMode authenticationMode()
Get the authenticationMode property: Authentication Mode.- Returns:
- the authenticationMode value.
-
withAuthenticationMode
public JobStorageAccount withAuthenticationMode(AuthenticationMode authenticationMode)
Set the authenticationMode property: Authentication Mode.- Parameters:
authenticationMode
- the authenticationMode value to set.- Returns:
- the JobStorageAccount object itself.
-
withAccountName
public JobStorageAccount withAccountName(String accountName)
Set the accountName property: The name of the Azure Storage account. Required on PUT (CreateOrReplace) requests.- Overrides:
withAccountName
in classStorageAccount
- Parameters:
accountName
- the accountName value to set.- Returns:
- the StorageAccount object itself.
-
withAccountKey
public JobStorageAccount withAccountKey(String accountKey)
Set the accountKey property: The account key for the Azure Storage account. Required on PUT (CreateOrReplace) requests.- Overrides:
withAccountKey
in classStorageAccount
- Parameters:
accountKey
- the accountKey value to set.- Returns:
- the StorageAccount object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classStorageAccount
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-