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.
Method Summary
Modifier and Type | Method and Description |
---|---|
Task |
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. |
Task |
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. |
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: