TaskSchedulingPolicy Class

  • java.lang.Object
    • com.azure.resourcemanager.batch.models.TaskSchedulingPolicy

public final class TaskSchedulingPolicy

Specifies how tasks should be distributed across compute nodes.

Constructor Summary

Constructor Description
TaskSchedulingPolicy()

Method Summary

Modifier and Type Method and Description
ComputeNodeFillType nodeFillType()

Get the nodeFillType property: How tasks should be distributed across compute nodes.

void validate()

Validates the instance.

TaskSchedulingPolicy withNodeFillType(ComputeNodeFillType nodeFillType)

Set the nodeFillType property: How tasks should be distributed across compute nodes.

Methods inherited from java.lang.Object

Constructor Details

TaskSchedulingPolicy

public TaskSchedulingPolicy()

Method Details

nodeFillType

public ComputeNodeFillType nodeFillType()

Get the nodeFillType property: How tasks should be distributed across compute nodes.

Returns:

the nodeFillType value.

validate

public void validate()

Validates the instance.

withNodeFillType

public TaskSchedulingPolicy withNodeFillType(ComputeNodeFillType nodeFillType)

Set the nodeFillType property: How tasks should be distributed across compute nodes.

Parameters:

nodeFillType - the nodeFillType value to set.

Returns:

the TaskSchedulingPolicy object itself.

Applies to