Class SystemCreatedAcrAccount

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

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

    • SystemCreatedAcrAccount

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

    • acrAccountName

      public String acrAccountName()
      Get the acrAccountName property: Name of the ACR account.
      Returns:
      the acrAccountName value.
    • withAcrAccountName

      public SystemCreatedAcrAccount withAcrAccountName(String acrAccountName)
      Set the acrAccountName property: Name of the ACR account.
      Parameters:
      acrAccountName - the acrAccountName value to set.
      Returns:
      the SystemCreatedAcrAccount object itself.
    • acrAccountSku

      public String acrAccountSku()
      Get the acrAccountSku property: SKU of the ACR account.
      Returns:
      the acrAccountSku value.
    • withAcrAccountSku

      public SystemCreatedAcrAccount withAcrAccountSku(String acrAccountSku)
      Set the acrAccountSku property: SKU of the ACR account.
      Parameters:
      acrAccountSku - the acrAccountSku value to set.
      Returns:
      the SystemCreatedAcrAccount object itself.
    • armResourceId

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

      public SystemCreatedAcrAccount withArmResourceId(ArmResourceId armResourceId)
      Set the armResourceId property: This is populated once the ACR account is created.
      Parameters:
      armResourceId - the armResourceId value to set.
      Returns:
      the SystemCreatedAcrAccount 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<SystemCreatedAcrAccount>
      Throws:
      IOException
    • fromJson

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