Class StorageTaskAssignmentExecutionContext

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

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

    • StorageTaskAssignmentExecutionContext

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

      public ExecutionTrigger 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 StorageTaskAssignmentExecutionContext object itself.
    • validate

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