Class ExecutionTriggerUpdate

java.lang.Object
com.azure.resourcemanager.storage.models.ExecutionTriggerUpdate
All Implemented Interfaces:
com.azure.json.JsonSerializable<ExecutionTriggerUpdate>

public final class ExecutionTriggerUpdate extends Object implements com.azure.json.JsonSerializable<ExecutionTriggerUpdate>
Execution trigger update for storage task assignment.
  • Constructor Details

    • ExecutionTriggerUpdate

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

    • type

      public TriggerType type()
      Get the type property: The trigger type of the storage task assignment execution.
      Returns:
      the type value.
    • withType

      public ExecutionTriggerUpdate withType(TriggerType type)
      Set the type property: The trigger type of the storage task assignment execution.
      Parameters:
      type - the type value to set.
      Returns:
      the ExecutionTriggerUpdate object itself.
    • parameters

      public TriggerParametersUpdate parameters()
      Get the parameters property: The trigger parameters of the storage task assignment execution.
      Returns:
      the parameters value.
    • withParameters

      public ExecutionTriggerUpdate withParameters(TriggerParametersUpdate parameters)
      Set the parameters property: The trigger parameters of the storage task assignment execution.
      Parameters:
      parameters - the parameters value to set.
      Returns:
      the ExecutionTriggerUpdate object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ExecutionTriggerUpdate>
      Throws:
      IOException
    • fromJson

      public static ExecutionTriggerUpdate fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ExecutionTriggerUpdate from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ExecutionTriggerUpdate 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 ExecutionTriggerUpdate.