Interface SchedulerConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SchedulerConfig.Builder,
,SchedulerConfig> SdkBuilder<SchedulerConfig.Builder,
,SchedulerConfig> SdkPojo
- Enclosing class:
SchedulerConfig
@Mutable
@NotThreadSafe
public static interface SchedulerConfig.Builder
extends SdkPojo, CopyableBuilder<SchedulerConfig.Builder,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
.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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaPriorityClass.builder()
.When the
Consumer
completes,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:
-