Class UserCreatedAcrAccount

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

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

    • UserCreatedAcrAccount

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

    • armResourceId

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

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

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