Interface SchedulerConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SchedulerConfig.Builder,,SchedulerConfig> SdkBuilder<SchedulerConfig.Builder,,SchedulerConfig> SdkPojo
- Enclosing class:
SchedulerConfig
-
Method Summary
Modifier and TypeMethodDescriptionWhen enabled, entities borrow idle compute based on their assignedFairShareWeight.When enabled, entities borrow idle compute based on their assignedFairShareWeight.idleResourceSharing(String idleResourceSharing) Configuration for sharing idle compute resources across entities in the cluster.idleResourceSharing(IdleResourceSharing idleResourceSharing) Configuration for sharing idle compute resources across entities in the cluster.priorityClasses(Collection<PriorityClass> priorityClasses) List of the priority classes,PriorityClass, of the cluster policy.priorityClasses(Consumer<PriorityClass.Builder>... priorityClasses) List of the priority classes,PriorityClass, of the cluster policy.priorityClasses(PriorityClass... priorityClasses) List of the priority classes,PriorityClass, of the cluster policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
priorityClasses
List of the priority classes,
PriorityClass, of the cluster policy. When specified, these class configurations define how tasks are queued.- Parameters:
priorityClasses- List of the priority classes,PriorityClass, of the cluster policy. When specified, these class configurations define how tasks are queued.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priorityClasses
List of the priority classes,
PriorityClass, of the cluster policy. When specified, these class configurations define how tasks are queued.- Parameters:
priorityClasses- List of the priority classes,PriorityClass, of the cluster policy. When specified, these class configurations define how tasks are queued.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
priorityClasses
List of the priority classes,
This is a convenience method that creates an instance of thePriorityClass, of the cluster policy. When specified, these class configurations define how tasks are queued.PriorityClass.Builderavoiding the need to create one manually viaPriorityClass.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topriorityClasses(List<PriorityClass>).- Parameters:
priorityClasses- a consumer that will call methods onPriorityClass.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
idleResourceSharing
Configuration for sharing idle compute resources across entities in the cluster. When enabled, unallocated resources are automatically calculated and made available for entities to borrow.
- Parameters:
idleResourceSharing- Configuration for sharing idle compute resources across entities in the cluster. When enabled, unallocated resources are automatically calculated and made available for entities to borrow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
idleResourceSharing
Configuration for sharing idle compute resources across entities in the cluster. When enabled, unallocated resources are automatically calculated and made available for entities to borrow.
- Parameters:
idleResourceSharing- Configuration for sharing idle compute resources across entities in the cluster. When enabled, unallocated resources are automatically calculated and made available for entities to borrow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-