Interface KubeSchedulerConfigRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<KubeSchedulerConfigRequest.Builder,,KubeSchedulerConfigRequest> SdkBuilder<KubeSchedulerConfigRequest.Builder,,KubeSchedulerConfigRequest> SdkPojo
- Enclosing class:
KubeSchedulerConfigRequest
@Mutable
@NotThreadSafe
public static interface KubeSchedulerConfigRequest.Builder
extends SdkPojo, CopyableBuilder<KubeSchedulerConfigRequest.Builder,KubeSchedulerConfigRequest>
-
Method Summary
Modifier and TypeMethodDescriptionnodeResourcesFit(Consumer<NodeResourcesFitConfig.Builder> nodeResourcesFit) The node resource fit scoring configuration for the scheduler.nodeResourcesFit(NodeResourcesFitConfig nodeResourcesFit) The node resource fit scoring configuration for the scheduler.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
-
nodeResourcesFit
The node resource fit scoring configuration for the scheduler.
- Parameters:
nodeResourcesFit- The node resource fit scoring configuration for the scheduler.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeResourcesFit
default KubeSchedulerConfigRequest.Builder nodeResourcesFit(Consumer<NodeResourcesFitConfig.Builder> nodeResourcesFit) The node resource fit scoring configuration for the scheduler.
This is a convenience method that creates an instance of theNodeResourcesFitConfig.Builderavoiding the need to create one manually viaNodeResourcesFitConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonodeResourcesFit(NodeResourcesFitConfig).- Parameters:
nodeResourcesFit- a consumer that will call methods onNodeResourcesFitConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-