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.

Constructor Summary

Constructor Description
TaskUpdateParameter()

Method Summary

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

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:

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