TaskUpdateParameter Class
- java.
lang. Object - com.
microsoft. azure. batch. protocol. models. TaskUpdateParameter
- com.
public class TaskUpdateParameter
The set of changes to be made to a Task.
Constructor Summary
Constructor | Description | |
---|---|---|
TaskUpdateParameter() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Task |
constraints()
Get if omitted, the Task is given the default constraints. |
Task |
withConstraints(TaskConstraints constraints)
Set if omitted, the Task is given the default constraints. |
Methods inherited from java.lang.Object
Constructor Details
TaskUpdateParameter
public TaskUpdateParameter()
Method Details
constraints
public TaskConstraints constraints()
Get if omitted, the Task is given the default constraints. For multi-instance Tasks, updating the retention time applies only to the primary Task and not subtasks.
Returns:
withConstraints
public TaskUpdateParameter withConstraints(TaskConstraints constraints)
Set if omitted, the Task is given the default constraints. For multi-instance Tasks, updating the retention time applies only to the primary Task and not subtasks.
Parameters:
Returns:
Applies to
Azure SDK for Java