Class CfnClusterSnapshot.Builder
java.lang.Object
software.amazon.awscdk.services.docdbelastic.CfnClusterSnapshot.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterSnapshot>
- Enclosing class:
CfnClusterSnapshot
@Stability(Stable)
public static final class CfnClusterSnapshot.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterSnapshot>
A fluent builder for
CfnClusterSnapshot.-
Method Summary
Modifier and TypeMethodDescriptionbuild()clusterArn(String clusterArn) The ARN of the elastic cluster of which to create a snapshot.static CfnClusterSnapshot.BuildersnapshotName(String snapshotName) The name of the elastic cluster snapshot.An array of key-value pairs to apply to the elastic cluster snapshot.
-
Method Details
-
create
@Stability(Stable) public static CfnClusterSnapshot.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnClusterSnapshot.Builder.
-
clusterArn
The ARN of the elastic cluster of which to create a snapshot.- Parameters:
clusterArn- The ARN of the elastic cluster of which to create a snapshot. This parameter is required.- Returns:
this- See Also:
-
snapshotName
The name of the elastic cluster snapshot.- Parameters:
snapshotName- The name of the elastic cluster snapshot. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to the elastic cluster snapshot.- Parameters:
tags- An array of key-value pairs to apply to the elastic cluster snapshot. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterSnapshot>- Returns:
- a newly built instance of
CfnClusterSnapshot.
-