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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the armResourceId property: ARM ResourceId of a resource.static UserCreatedAcrAccountfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of UserCreatedAcrAccount from the JsonReader.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withArmResourceId(ArmResourceId armResourceId) Set the armResourceId property: ARM ResourceId of a resource.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
-
UserCreatedAcrAccount
public UserCreatedAcrAccount()Creates an instance of UserCreatedAcrAccount class.
-
-
Method Details
-
armResourceId
Get the armResourceId property: ARM ResourceId of a resource.- Returns:
- the armResourceId value.
-
withArmResourceId
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
- Specified by:
toJsonin interfacecom.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.
-