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

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

    • AcrDetails

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

    • systemCreatedAcrAccount

      public SystemCreatedAcrAccount systemCreatedAcrAccount()
      Get the systemCreatedAcrAccount property: Details of system created ACR account to be used for the Registry.
      Returns:
      the systemCreatedAcrAccount value.
    • withSystemCreatedAcrAccount

      public AcrDetails withSystemCreatedAcrAccount(SystemCreatedAcrAccount systemCreatedAcrAccount)
      Set the systemCreatedAcrAccount property: Details of system created ACR account to be used for the Registry.
      Parameters:
      systemCreatedAcrAccount - the systemCreatedAcrAccount value to set.
      Returns:
      the AcrDetails object itself.
    • userCreatedAcrAccount

      public UserCreatedAcrAccount userCreatedAcrAccount()
      Get the userCreatedAcrAccount property: Details of user created ACR account to be used for the Registry.
      Returns:
      the userCreatedAcrAccount value.
    • withUserCreatedAcrAccount

      public AcrDetails withUserCreatedAcrAccount(UserCreatedAcrAccount userCreatedAcrAccount)
      Set the userCreatedAcrAccount property: Details of user created ACR account to be used for the Registry.
      Parameters:
      userCreatedAcrAccount - the userCreatedAcrAccount value to set.
      Returns:
      the AcrDetails 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<AcrDetails>
      Throws:
      IOException
    • fromJson

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