Interface SchedulingMinPriorityOverride.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SchedulingMinPriorityOverride.Builder,,SchedulingMinPriorityOverride> SdkBuilder<SchedulingMinPriorityOverride.Builder,,SchedulingMinPriorityOverride> SdkPojo
- Enclosing class:
SchedulingMinPriorityOverride
@Mutable
@NotThreadSafe
public static interface SchedulingMinPriorityOverride.Builder
extends SdkPojo, CopyableBuilder<SchedulingMinPriorityOverride.Builder,SchedulingMinPriorityOverride>
-
Method Summary
Modifier and TypeMethodDescriptionalwaysScheduleLast(Consumer<SchedulingMinPriorityOverrideAlwaysScheduleLast.Builder> alwaysScheduleLast) Jobs at the minimum priority (0) are always scheduled after all other jobs, regardless of the weighted scheduling formula.alwaysScheduleLast(SchedulingMinPriorityOverrideAlwaysScheduleLast alwaysScheduleLast) Jobs at the minimum priority (0) are always scheduled after all other jobs, regardless of the weighted scheduling formula.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
-
alwaysScheduleLast
SchedulingMinPriorityOverride.Builder alwaysScheduleLast(SchedulingMinPriorityOverrideAlwaysScheduleLast alwaysScheduleLast) Jobs at the minimum priority (0) are always scheduled after all other jobs, regardless of the weighted scheduling formula. If multiple jobs have priority 0, ties are broken using the standard weighted formula.
- Parameters:
alwaysScheduleLast- Jobs at the minimum priority (0) are always scheduled after all other jobs, regardless of the weighted scheduling formula. If multiple jobs have priority 0, ties are broken using the standard weighted formula.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alwaysScheduleLast
default SchedulingMinPriorityOverride.Builder alwaysScheduleLast(Consumer<SchedulingMinPriorityOverrideAlwaysScheduleLast.Builder> alwaysScheduleLast) Jobs at the minimum priority (0) are always scheduled after all other jobs, regardless of the weighted scheduling formula. If multiple jobs have priority 0, ties are broken using the standard weighted formula.
This is a convenience method that creates an instance of theSchedulingMinPriorityOverrideAlwaysScheduleLast.Builderavoiding the need to create one manually viaSchedulingMinPriorityOverrideAlwaysScheduleLast.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toalwaysScheduleLast(SchedulingMinPriorityOverrideAlwaysScheduleLast).- Parameters:
alwaysScheduleLast- a consumer that will call methods onSchedulingMinPriorityOverrideAlwaysScheduleLast.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-