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 Details

    • ExecutionIdentityUpdate

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

    • scope

      public ExecutionIdentityScope 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.