StorageTaskAssignmentExecutionContext Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. StorageTaskAssignmentExecutionContext
- com.
Implements
public final class StorageTaskAssignmentExecutionContext
implements JsonSerializable<StorageTaskAssignmentExecutionContext>
Execution context of the storage task assignment.
Constructor Summary
Constructor | Description |
---|---|
StorageTaskAssignmentExecutionContext() |
Creates an instance of Storage |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Storage |
fromJson(JsonReader jsonReader)
Reads an instance of Storage |
Execution |
target()
Get the target property: Execution target of the storage task assignment. |
Json |
toJson(JsonWriter jsonWriter) |
Execution |
trigger()
Get the trigger property: Execution trigger of the storage task assignment. |
void |
validate()
Validates the instance. |
Storage |
withTarget(ExecutionTarget target)
Set the target property: Execution target of the storage task assignment. |
Storage |
withTrigger(ExecutionTrigger trigger)
Set the trigger property: Execution trigger of the storage task assignment. |
Methods inherited from java.lang.Object
Constructor Details
StorageTaskAssignmentExecutionContext
public StorageTaskAssignmentExecutionContext()
Creates an instance of StorageTaskAssignmentExecutionContext class.
Method Details
fromJson
public static StorageTaskAssignmentExecutionContext fromJson(JsonReader jsonReader)
Reads an instance of StorageTaskAssignmentExecutionContext from the JsonReader.
Parameters:
Returns:
Throws:
target
public ExecutionTarget target()
Get the target property: Execution target of the storage task assignment.
Returns:
toJson
trigger
public ExecutionTrigger trigger()
Get the trigger property: Execution trigger of the storage task assignment.
Returns:
validate
public void validate()
Validates the instance.
withTarget
public StorageTaskAssignmentExecutionContext withTarget(ExecutionTarget target)
Set the target property: Execution target of the storage task assignment.
Parameters:
Returns:
withTrigger
public StorageTaskAssignmentExecutionContext withTrigger(ExecutionTrigger trigger)
Set the trigger property: Execution trigger of the storage task assignment.
Parameters:
Returns:
Applies to
Azure SDK for Java