Class CfnClusterPropsMixin.UpgradePolicyProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.eks.CfnClusterPropsMixin.UpgradePolicyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.UpgradePolicyProperty>
- Enclosing interface:
CfnClusterPropsMixin.UpgradePolicyProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.UpgradePolicyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.UpgradePolicyProperty>
A builder for
CfnClusterPropsMixin.UpgradePolicyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.supportType(String supportType) Sets the value ofCfnClusterPropsMixin.UpgradePolicyProperty.getSupportType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
supportType
@Stability(Stable) public CfnClusterPropsMixin.UpgradePolicyProperty.Builder supportType(String supportType) Sets the value ofCfnClusterPropsMixin.UpgradePolicyProperty.getSupportType()- Parameters:
supportType- If the cluster is set toEXTENDED, it will enter extended support at the end of standard support. If the cluster is set toSTANDARD, it will be automatically upgraded at the end of standard support.Learn more about EKS Extended Support in the Amazon EKS User Guide .
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.UpgradePolicyProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.UpgradePolicyProperty - Throws:
NullPointerException- if any required attribute was not provided
-