Interface KubeSchedulerConfigResponse.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<KubeSchedulerConfigResponse.Builder,,KubeSchedulerConfigResponse> SdkBuilder<KubeSchedulerConfigResponse.Builder,,KubeSchedulerConfigResponse> SdkPojo
- Enclosing class:
KubeSchedulerConfigResponse
@Mutable
@NotThreadSafe
public static interface KubeSchedulerConfigResponse.Builder
extends SdkPojo, CopyableBuilder<KubeSchedulerConfigResponse.Builder,KubeSchedulerConfigResponse>
-
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 KubeSchedulerConfigResponse.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:
-