Class UserCreatedStorageAccount

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

public final class UserCreatedStorageAccount extends Object implements com.azure.json.JsonSerializable<UserCreatedStorageAccount>
The UserCreatedStorageAccount model.
  • Constructor Details

    • UserCreatedStorageAccount

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

    • armResourceId

      public ArmResourceId armResourceId()
      Get the armResourceId property: ARM ResourceId of a resource.
      Returns:
      the armResourceId value.
    • withArmResourceId

      public UserCreatedStorageAccount withArmResourceId(ArmResourceId armResourceId)
      Set the armResourceId property: ARM ResourceId of a resource.
      Parameters:
      armResourceId - the armResourceId value to set.
      Returns:
      the UserCreatedStorageAccount 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<UserCreatedStorageAccount>
      Throws:
      IOException
    • fromJson

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