Class CfnNodegroup.UpdateConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eks.CfnNodegroup.UpdateConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNodegroup.UpdateConfigProperty>
- Enclosing interface:
CfnNodegroup.UpdateConfigProperty
@Stability(Stable)
public static final class CfnNodegroup.UpdateConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNodegroup.UpdateConfigProperty>
A builder for
CfnNodegroup.UpdateConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maxUnavailable(Number maxUnavailable) Sets the value ofCfnNodegroup.UpdateConfigProperty.getMaxUnavailable()maxUnavailablePercentage(Number maxUnavailablePercentage) Sets the value ofCfnNodegroup.UpdateConfigProperty.getMaxUnavailablePercentage()updateStrategy(String updateStrategy) Sets the value ofCfnNodegroup.UpdateConfigProperty.getUpdateStrategy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
updateStrategy
@Stability(Stable) public CfnNodegroup.UpdateConfigProperty.Builder updateStrategy(String updateStrategy) Sets the value ofCfnNodegroup.UpdateConfigProperty.getUpdateStrategy()- Parameters:
updateStrategy- The configuration for the behavior to follow during an node group version update of this managed node group. You choose between two possible strategies for replacing nodes during an UpdateNodegroupVersion action.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNodegroup.UpdateConfigProperty>- Returns:
- a new instance of
CfnNodegroup.UpdateConfigProperty - Throws:
NullPointerException- if any required attribute was not provided