Class StorageAccountDetails
java.lang.Object
com.azure.resourcemanager.databox.models.DataAccountDetails
com.azure.resourcemanager.databox.models.StorageAccountDetails
Details for the storage account.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the storageAccountId property: Storage Account Resource Id.void
validate()
Validates the instance.withSharePassword
(String sharePassword) Set the sharePassword property: Password for all the shares to be created on the device.withStorageAccountId
(String storageAccountId) Set the storageAccountId property: Storage Account Resource Id.Methods inherited from class com.azure.resourcemanager.databox.models.DataAccountDetails
sharePassword
-
Constructor Details
-
StorageAccountDetails
public StorageAccountDetails()Creates an instance of StorageAccountDetails class.
-
-
Method Details
-
storageAccountId
Get the storageAccountId property: Storage Account Resource Id.- Returns:
- the storageAccountId value.
-
withStorageAccountId
Set the storageAccountId property: Storage Account Resource Id.- Parameters:
storageAccountId
- the storageAccountId value to set.- Returns:
- the StorageAccountDetails object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classDataAccountDetails
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-