Class CfnCluster.ZonalShiftConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eks.CfnCluster.ZonalShiftConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.ZonalShiftConfigProperty>
- Enclosing interface:
CfnCluster.ZonalShiftConfigProperty
@Stability(Stable)
public static final class CfnCluster.ZonalShiftConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.ZonalShiftConfigProperty>
A builder for
CfnCluster.ZonalShiftConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCluster.ZonalShiftConfigProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnCluster.ZonalShiftConfigProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Sets the value ofCfnCluster.ZonalShiftConfigProperty.getEnabled()- Parameters:
enabled- If zonal shift is enabled, AWS configures zonal autoshift for the cluster.- Returns:
this
-
enabled
Sets the value ofCfnCluster.ZonalShiftConfigProperty.getEnabled()- Parameters:
enabled- If zonal shift is enabled, AWS configures zonal autoshift for the cluster.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.ZonalShiftConfigProperty>- Returns:
- a new instance of
CfnCluster.ZonalShiftConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-