Class CfnClusterSnapshotMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.docdbelastic.CfnClusterSnapshotMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterSnapshotMixinProps>
- Enclosing interface:
CfnClusterSnapshotMixinProps
@Stability(Stable)
public static final class CfnClusterSnapshotMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterSnapshotMixinProps>
A builder for
CfnClusterSnapshotMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clusterArn(String clusterArn) Sets the value ofCfnClusterSnapshotMixinProps.getClusterArn()snapshotName(String snapshotName) Sets the value ofCfnClusterSnapshotMixinProps.getSnapshotName()Sets the value ofCfnClusterSnapshotMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clusterArn
Sets the value ofCfnClusterSnapshotMixinProps.getClusterArn()- Parameters:
clusterArn- The ARN of the elastic cluster of which to create a snapshot.- Returns:
this
-
snapshotName
Sets the value ofCfnClusterSnapshotMixinProps.getSnapshotName()- Parameters:
snapshotName- The name of the elastic cluster snapshot.- Returns:
this
-
tags
Sets the value ofCfnClusterSnapshotMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to the elastic cluster snapshot.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterSnapshotMixinProps>- Returns:
- a new instance of
CfnClusterSnapshotMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-