Class ExecutionIdentityUpdate
java.lang.Object
com.azure.resourcemanager.compute.workloadmanager.models.ExecutionIdentityUpdate
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ExecutionIdentityUpdate>
public final class ExecutionIdentityUpdate
extends Object
implements com.azure.json.JsonSerializable<ExecutionIdentityUpdate>
Execution identity configuration that may be updated.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ExecutionIdentityUpdate class. -
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutionIdentityUpdatefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ExecutionIdentityUpdate from the JsonReader.scope()Get the scope property: The execution boundary across which the identity is shared.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) withScope(ExecutionIdentityScope scope) Set the scope property: The execution boundary across which the identity is shared.Methods inherited from class 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
-
ExecutionIdentityUpdate
public ExecutionIdentityUpdate()Creates an instance of ExecutionIdentityUpdate class.
-
-
Method Details
-
scope
Get the scope property: The execution boundary across which the identity is shared.- Returns:
- the scope value.
-
withScope
Set the scope property: The execution boundary across which the identity is shared.- Parameters:
scope- the scope value to set.- Returns:
- the ExecutionIdentityUpdate object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ExecutionIdentityUpdate>- Throws:
IOException
-
fromJson
public static ExecutionIdentityUpdate fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ExecutionIdentityUpdate from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ExecutionIdentityUpdate 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 ExecutionIdentityUpdate.
-