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 Details

    • SystemCreatedStorageAccount

      public SystemCreatedStorageAccount()
      Creates an instance of SystemCreatedStorageAccount class.
  • Method Details

    • allowBlobPublicAccess

      public Boolean allowBlobPublicAccess()
      Get the allowBlobPublicAccess property: Public blob access allowed.
      Returns:
      the allowBlobPublicAccess value.
    • withAllowBlobPublicAccess

      public SystemCreatedStorageAccount withAllowBlobPublicAccess(Boolean allowBlobPublicAccess)
      Set the allowBlobPublicAccess property: Public blob access allowed.
      Parameters:
      allowBlobPublicAccess - the allowBlobPublicAccess value to set.
      Returns:
      the SystemCreatedStorageAccount object itself.
    • armResourceId

      public ArmResourceId armResourceId()
      Get the armResourceId property: This is populated once the storage account is created.
      Returns:
      the armResourceId value.
    • withArmResourceId

      public SystemCreatedStorageAccount withArmResourceId(ArmResourceId armResourceId)
      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

      public Boolean storageAccountHnsEnabled()
      Get the storageAccountHnsEnabled property: HNS enabled for storage account.
      Returns:
      the storageAccountHnsEnabled value.
    • withStorageAccountHnsEnabled

      public SystemCreatedStorageAccount withStorageAccountHnsEnabled(Boolean storageAccountHnsEnabled)
      Set the storageAccountHnsEnabled property: HNS enabled for storage account.
      Parameters:
      storageAccountHnsEnabled - the storageAccountHnsEnabled value to set.
      Returns:
      the SystemCreatedStorageAccount object itself.
    • storageAccountName

      public String storageAccountName()
      Get the storageAccountName property: Name of the storage account.
      Returns:
      the storageAccountName value.
    • withStorageAccountName

      public SystemCreatedStorageAccount withStorageAccountName(String storageAccountName)
      Set the storageAccountName property: Name of the storage account.
      Parameters:
      storageAccountName - the storageAccountName value to set.
      Returns:
      the SystemCreatedStorageAccount object itself.
    • storageAccountType

      public String 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

      public SystemCreatedStorageAccount 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".
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.