Class CfnCluster.ManagedStorageConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnCluster.ManagedStorageConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.ManagedStorageConfigurationProperty>
- Enclosing interface:
CfnCluster.ManagedStorageConfigurationProperty
@Stability(Stable)
public static final class CfnCluster.ManagedStorageConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.ManagedStorageConfigurationProperty>
A builder for
CfnCluster.ManagedStorageConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fargateEphemeralStorageKmsKeyId(String fargateEphemeralStorageKmsKeyId) Sets the value ofCfnCluster.ManagedStorageConfigurationProperty.getKmsKeyId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fargateEphemeralStorageKmsKeyId
@Stability(Stable) public CfnCluster.ManagedStorageConfigurationProperty.Builder fargateEphemeralStorageKmsKeyId(String fargateEphemeralStorageKmsKeyId) Sets the value ofCfnCluster.ManagedStorageConfigurationProperty.getFargateEphemeralStorageKmsKeyId()- Parameters:
fargateEphemeralStorageKmsKeyId- Specify the AWS Key Management Service key ID for the Fargate ephemeral storage.- Returns:
this
-
kmsKeyId
@Stability(Stable) public CfnCluster.ManagedStorageConfigurationProperty.Builder kmsKeyId(String kmsKeyId) Sets the value ofCfnCluster.ManagedStorageConfigurationProperty.getKmsKeyId()- Parameters:
kmsKeyId- Specify a AWS Key Management Service key ID to encrypt the managed storage.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.ManagedStorageConfigurationProperty>- Returns:
- a new instance of
CfnCluster.ManagedStorageConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-