Class StorageTaskAssignmentUpdateExecutionContext

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

public final class StorageTaskAssignmentUpdateExecutionContext extends Object
Execution context of the storage task assignment update.
  • Constructor Details

    • StorageTaskAssignmentUpdateExecutionContext

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

    • target

      public ExecutionTarget target()
      Get the target property: Execution target of the storage task assignment.
      Returns:
      the target value.
    • withTarget

      Set the target property: Execution target of the storage task assignment.
      Parameters:
      target - the target value to set.
      Returns:
      the StorageTaskAssignmentUpdateExecutionContext object itself.
    • trigger

      public ExecutionTriggerUpdate trigger()
      Get the trigger property: Execution trigger of the storage task assignment.
      Returns:
      the trigger value.
    • withTrigger

      Set the trigger property: Execution trigger of the storage task assignment.
      Parameters:
      trigger - the trigger value to set.
      Returns:
      the StorageTaskAssignmentUpdateExecutionContext object itself.
    • validate

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