Class SystemCreatedStorageAccount
java.lang.Object
com.azure.resourcemanager.machinelearning.models.SystemCreatedStorageAccount
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SystemCreatedStorageAccount>
public final class SystemCreatedStorageAccount
extends Object
implements com.azure.json.JsonSerializable<SystemCreatedStorageAccount>
The SystemCreatedStorageAccount model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of SystemCreatedStorageAccount class. -
Method Summary
Modifier and TypeMethodDescriptionGet the allowBlobPublicAccess property: Public blob access allowed.Get the armResourceId property: This is populated once the storage account is created.static SystemCreatedStorageAccountfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SystemCreatedStorageAccount from the JsonReader.Get the storageAccountHnsEnabled property: HNS enabled for storage account.Get the storageAccountName property: Name of the storage account.Get the storageAccountType property: Allowed values: "Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Standard_GZRS", "Standard_RAGZRS", "Premium_LRS", "Premium_ZRS".com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAllowBlobPublicAccess(Boolean allowBlobPublicAccess) Set the allowBlobPublicAccess property: Public blob access allowed.withArmResourceId(ArmResourceId armResourceId) Set the armResourceId property: This is populated once the storage account is created.withStorageAccountHnsEnabled(Boolean storageAccountHnsEnabled) Set the storageAccountHnsEnabled property: HNS enabled for storage account.withStorageAccountName(String storageAccountName) Set the storageAccountName property: Name of the storage account.withStorageAccountType(String storageAccountType) Set the storageAccountType property: Allowed values: "Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Standard_GZRS", "Standard_RAGZRS", "Premium_LRS", "Premium_ZRS".Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SystemCreatedStorageAccount
public SystemCreatedStorageAccount()Creates an instance of SystemCreatedStorageAccount class.
-
-
Method Details
-
allowBlobPublicAccess
Get the allowBlobPublicAccess property: Public blob access allowed.- Returns:
- the allowBlobPublicAccess value.
-
withAllowBlobPublicAccess
Set the allowBlobPublicAccess property: Public blob access allowed.- Parameters:
allowBlobPublicAccess- the allowBlobPublicAccess value to set.- Returns:
- the SystemCreatedStorageAccount object itself.
-
armResourceId
Get the armResourceId property: This is populated once the storage account is created.- Returns:
- the armResourceId value.
-
withArmResourceId
Set the armResourceId property: This is populated once the storage account is created.- Parameters:
armResourceId- the armResourceId value to set.- Returns:
- the SystemCreatedStorageAccount object itself.
-
storageAccountHnsEnabled
Get the storageAccountHnsEnabled property: HNS enabled for storage account.- Returns:
- the storageAccountHnsEnabled value.
-
withStorageAccountHnsEnabled
Set the storageAccountHnsEnabled property: HNS enabled for storage account.- Parameters:
storageAccountHnsEnabled- the storageAccountHnsEnabled value to set.- Returns:
- the SystemCreatedStorageAccount object itself.
-
storageAccountName
Get the storageAccountName property: Name of the storage account.- Returns:
- the storageAccountName value.
-
withStorageAccountName
Set the storageAccountName property: Name of the storage account.- Parameters:
storageAccountName- the storageAccountName value to set.- Returns:
- the SystemCreatedStorageAccount object itself.
-
storageAccountType
Get the storageAccountType property: Allowed values: "Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Standard_GZRS", "Standard_RAGZRS", "Premium_LRS", "Premium_ZRS".- Returns:
- the storageAccountType value.
-
withStorageAccountType
Set the storageAccountType property: Allowed values: "Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Standard_GZRS", "Standard_RAGZRS", "Premium_LRS", "Premium_ZRS".- Parameters:
storageAccountType- the storageAccountType value to set.- Returns:
- the SystemCreatedStorageAccount object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<SystemCreatedStorageAccount>- Throws:
IOException
-
fromJson
public static SystemCreatedStorageAccount fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of SystemCreatedStorageAccount from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of SystemCreatedStorageAccount if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the SystemCreatedStorageAccount.
-