Class TaskSchedulingPolicy

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

public final class TaskSchedulingPolicy extends Object
Specifies how tasks should be distributed across compute nodes.
  • Constructor Details

    • TaskSchedulingPolicy

      public TaskSchedulingPolicy()
      Creates an instance of TaskSchedulingPolicy class.
  • Method Details

    • nodeFillType

      public ComputeNodeFillType nodeFillType()
      Get the nodeFillType property: How tasks should be distributed across compute nodes.
      Returns:
      the nodeFillType value.
    • 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.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.