Class CfnCluster.BlockStorageProperty.Builder
java.lang.Object
software.amazon.awscdk.services.eks.CfnCluster.BlockStorageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.BlockStorageProperty>
- Enclosing interface:
CfnCluster.BlockStorageProperty
@Stability(Stable)
public static final class CfnCluster.BlockStorageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.BlockStorageProperty>
A builder for
CfnCluster.BlockStorageProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnCluster.BlockStorageProperty.getEnabled()
enabled
(IResolvable enabled) Sets the value ofCfnCluster.BlockStorageProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Sets the value ofCfnCluster.BlockStorageProperty.getEnabled()
- Parameters:
enabled
- Indicates if the block storage capability is enabled on your EKS Auto Mode cluster. If the block storage capability is enabled, EKS Auto Mode will create and delete EBS volumes in your AWS account.- Returns:
this
-
enabled
Sets the value ofCfnCluster.BlockStorageProperty.getEnabled()
- Parameters:
enabled
- Indicates if the block storage capability is enabled on your EKS Auto Mode cluster. If the block storage capability is enabled, EKS Auto Mode will create and delete EBS volumes in your AWS account.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCluster.BlockStorageProperty>
- Returns:
- a new instance of
CfnCluster.BlockStorageProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-