Class CfnClusterSnapshot.Builder
java.lang.Object
software.amazon.awscdk.services.rds.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()static CfnClusterSnapshot.BuilderdbClusterIdentifier(String dbClusterIdentifier) The identifier of the DB cluster to create a snapshot for.dbClusterSnapshotIdentifier(String dbClusterSnapshotIdentifier) The identifier for the DB cluster snapshot.The tags to be assigned to the DB 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.
-
dbClusterIdentifier
@Stability(Stable) public CfnClusterSnapshot.Builder dbClusterIdentifier(String dbClusterIdentifier) The identifier of the DB cluster to create a snapshot for.- Parameters:
dbClusterIdentifier- The identifier of the DB cluster to create a snapshot for. This parameter is required.- Returns:
this- See Also:
-
dbClusterSnapshotIdentifier
@Stability(Stable) public CfnClusterSnapshot.Builder dbClusterSnapshotIdentifier(String dbClusterSnapshotIdentifier) The identifier for the DB cluster snapshot.Must contain from 1 to 63 letters, numbers, or hyphens. First character must be a letter. Can't end with a hyphen or contain two consecutive hyphens.
- Parameters:
dbClusterSnapshotIdentifier- The identifier for the DB cluster snapshot. This parameter is required.- Returns:
this- See Also:
-
tags
The tags to be assigned to the DB cluster snapshot.- Parameters:
tags- The tags to be assigned to the DB 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.
-