Class StorageTaskAssignmentExecutionContext
java.lang.Object
com.azure.resourcemanager.storage.models.StorageTaskAssignmentExecutionContext
Execution context of the storage task assignment.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of StorageTaskAssignmentExecutionContext class. -
Method Summary
Modifier and TypeMethodDescriptiontarget()Get the target property: Execution target of the storage task assignment.trigger()Get the trigger property: Execution trigger of the storage task assignment.voidvalidate()Validates the instance.withTarget(ExecutionTarget target) Set the target property: Execution target of the storage task assignment.withTrigger(ExecutionTrigger trigger) Set the trigger property: Execution trigger of the storage task assignment.
-
Constructor Details
-
StorageTaskAssignmentExecutionContext
public StorageTaskAssignmentExecutionContext()Creates an instance of StorageTaskAssignmentExecutionContext class.
-
-
Method Details
-
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
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.
-