Class StorageAccountDetails

java.lang.Object
com.azure.resourcemanager.machinelearning.models.StorageAccountDetails
All Implemented Interfaces:
com.azure.json.JsonSerializable<StorageAccountDetails>

public final class StorageAccountDetails extends Object implements com.azure.json.JsonSerializable<StorageAccountDetails>
Details of storage account to be used for the Registry.
  • Constructor Details

    • StorageAccountDetails

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

    • systemCreatedStorageAccount

      public SystemCreatedStorageAccount systemCreatedStorageAccount()
      Get the systemCreatedStorageAccount property: Details of system created storage account to be used for the registry.
      Returns:
      the systemCreatedStorageAccount value.
    • withSystemCreatedStorageAccount

      public StorageAccountDetails withSystemCreatedStorageAccount(SystemCreatedStorageAccount systemCreatedStorageAccount)
      Set the systemCreatedStorageAccount property: Details of system created storage account to be used for the registry.
      Parameters:
      systemCreatedStorageAccount - the systemCreatedStorageAccount value to set.
      Returns:
      the StorageAccountDetails object itself.
    • userCreatedStorageAccount

      public UserCreatedStorageAccount userCreatedStorageAccount()
      Get the userCreatedStorageAccount property: Details of user created storage account to be used for the registry.
      Returns:
      the userCreatedStorageAccount value.
    • withUserCreatedStorageAccount

      public StorageAccountDetails withUserCreatedStorageAccount(UserCreatedStorageAccount userCreatedStorageAccount)
      Set the userCreatedStorageAccount property: Details of user created storage account to be used for the registry.
      Parameters:
      userCreatedStorageAccount - the userCreatedStorageAccount value to set.
      Returns:
      the StorageAccountDetails 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<StorageAccountDetails>
      Throws:
      IOException
    • fromJson

      public static StorageAccountDetails fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of StorageAccountDetails from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of StorageAccountDetails 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 StorageAccountDetails.