Class AcrDetails
java.lang.Object
com.azure.resourcemanager.machinelearning.models.AcrDetails
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AcrDetails>
Details of ACR account to be used for the Registry.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AcrDetailsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of AcrDetails from the JsonReader.Get the systemCreatedAcrAccount property: Details of system created ACR account to be used for the Registry.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the userCreatedAcrAccount property: Details of user created ACR account to be used for the Registry.voidvalidate()Validates the instance.withSystemCreatedAcrAccount(SystemCreatedAcrAccount systemCreatedAcrAccount) Set the systemCreatedAcrAccount property: Details of system created ACR account to be used for the Registry.withUserCreatedAcrAccount(UserCreatedAcrAccount userCreatedAcrAccount) Set the userCreatedAcrAccount property: Details of user created ACR account to be used for the Registry.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
AcrDetails
public AcrDetails()Creates an instance of AcrDetails class.
-
-
Method Details
-
systemCreatedAcrAccount
Get the systemCreatedAcrAccount property: Details of system created ACR account to be used for the Registry.- Returns:
- the systemCreatedAcrAccount value.
-
withSystemCreatedAcrAccount
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
Get the userCreatedAcrAccount property: Details of user created ACR account to be used for the Registry.- Returns:
- the userCreatedAcrAccount value.
-
withUserCreatedAcrAccount
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
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<AcrDetails>- Throws:
IOException
-
fromJson
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.
-