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