Class CfnClusterPropsMixin.KubeSchedulerConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.eks.CfnClusterPropsMixin.KubeSchedulerConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.KubeSchedulerConfigProperty>
- Enclosing interface:
CfnClusterPropsMixin.KubeSchedulerConfigProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.KubeSchedulerConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.KubeSchedulerConfigProperty>
A builder for
CfnClusterPropsMixin.KubeSchedulerConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.nodeResourcesFit(CfnClusterPropsMixin.NodeResourcesFitConfigProperty nodeResourcesFit) Sets the value ofCfnClusterPropsMixin.KubeSchedulerConfigProperty.getNodeResourcesFit()nodeResourcesFit(IResolvable nodeResourcesFit) Sets the value ofCfnClusterPropsMixin.KubeSchedulerConfigProperty.getNodeResourcesFit()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
nodeResourcesFit
@Stability(Stable) public CfnClusterPropsMixin.KubeSchedulerConfigProperty.Builder nodeResourcesFit(IResolvable nodeResourcesFit) Sets the value ofCfnClusterPropsMixin.KubeSchedulerConfigProperty.getNodeResourcesFit()- Parameters:
nodeResourcesFit- The NodeResourcesFit plugin configuration for the Kubernetes scheduler.- Returns:
this
-
nodeResourcesFit
@Stability(Stable) public CfnClusterPropsMixin.KubeSchedulerConfigProperty.Builder nodeResourcesFit(CfnClusterPropsMixin.NodeResourcesFitConfigProperty nodeResourcesFit) Sets the value ofCfnClusterPropsMixin.KubeSchedulerConfigProperty.getNodeResourcesFit()- Parameters:
nodeResourcesFit- The NodeResourcesFit plugin configuration for the Kubernetes scheduler.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.KubeSchedulerConfigProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.KubeSchedulerConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-