Class TaskSchedulingPolicy
java.lang.Object
com.azure.resourcemanager.batch.models.TaskSchedulingPolicy
Specifies how tasks should be distributed across compute nodes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the nodeFillType property: How tasks should be distributed across compute nodes.voidvalidate()Validates the instance.withNodeFillType(ComputeNodeFillType nodeFillType) Set the nodeFillType property: How tasks should be distributed across compute nodes.
-
Constructor Details
-
TaskSchedulingPolicy
public TaskSchedulingPolicy()Creates an instance of TaskSchedulingPolicy class.
-
-
Method Details
-
nodeFillType
Get the nodeFillType property: How tasks should be distributed across compute nodes.- Returns:
- the nodeFillType value.
-
withNodeFillType
Set the nodeFillType property: How tasks should be distributed across compute nodes.- Parameters:
nodeFillType- the nodeFillType value to set.- Returns:
- the TaskSchedulingPolicy object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-