Class TaskUpdateParameter
- java.lang.Object
-
- com.microsoft.azure.batch.protocol.models.TaskUpdateParameter
-
public class TaskUpdateParameter extends Object
The set of changes to be made to a Task.
-
-
Constructor Summary
Constructors Constructor Description TaskUpdateParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskConstraints
constraints()
Get if omitted, the Task is given the default constraints.TaskUpdateParameter
withConstraints(TaskConstraints constraints)
Set if omitted, the Task is given the default constraints.
-
-
-
Method Detail
-
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:
- the constraints value
-
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:
constraints
- the constraints value to set- Returns:
- the TaskUpdateParameter object itself.
-
-