Class ExecutionTrigger

java.lang.Object
com.azure.resourcemanager.storage.models.ExecutionTrigger

public final class ExecutionTrigger extends Object
Execution trigger for storage task assignment.
  • Constructor Details

    • ExecutionTrigger

      public ExecutionTrigger()
      Creates an instance of ExecutionTrigger 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 ExecutionTrigger 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 ExecutionTrigger object itself.
    • parameters

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

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

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