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