TaskUpdateParameter Class

  • java.lang.Object
    • com.microsoft.azure.batch.protocol.models.TaskUpdateParameter

public class TaskUpdateParameter

The set of changes to be made to a task.

Method Summary

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

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.

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:

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.

Applies to