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 Summary
ConstructorsConstructorDescriptionCreates an instance of SystemCreatedAcrAccount class. -
Method Summary
Modifier and TypeMethodDescriptionGet the acrAccountName property: Name of the ACR account.Get the acrAccountSku property: SKU of the ACR account.Get the armResourceId property: This is populated once the ACR account is created.static SystemCreatedAcrAccountfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of SystemCreatedAcrAccount from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAcrAccountName(String acrAccountName) Set the acrAccountName property: Name of the ACR account.withAcrAccountSku(String acrAccountSku) Set the acrAccountSku property: SKU of the ACR account.withArmResourceId(ArmResourceId armResourceId) Set the armResourceId property: This is populated once the ACR account is created.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
-
SystemCreatedAcrAccount
public SystemCreatedAcrAccount()Creates an instance of SystemCreatedAcrAccount class.
-
-
Method Details
-
acrAccountName
Get the acrAccountName property: Name of the ACR account.- Returns:
- the acrAccountName value.
-
withAcrAccountName
Set the acrAccountName property: Name of the ACR account.- Parameters:
acrAccountName- the acrAccountName value to set.- Returns:
- the SystemCreatedAcrAccount object itself.
-
acrAccountSku
Get the acrAccountSku property: SKU of the ACR account.- Returns:
- the acrAccountSku value.
-
withAcrAccountSku
Set the acrAccountSku property: SKU of the ACR account.- Parameters:
acrAccountSku- the acrAccountSku value to set.- Returns:
- the SystemCreatedAcrAccount object itself.
-
armResourceId
Get the armResourceId property: This is populated once the ACR account is created.- Returns:
- the armResourceId value.
-
withArmResourceId
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
- Specified by:
toJsonin interfacecom.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.
-