Class CfnDBSnapshot.Builder
java.lang.Object
software.amazon.awscdk.services.rds.CfnDBSnapshot.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBSnapshot>
- Enclosing class:
CfnDBSnapshot
@Stability(Stable)
public static final class CfnDBSnapshot.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBSnapshot>
A fluent builder for
CfnDBSnapshot.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnDBSnapshot.BuilderdbInstanceIdentifier(String dbInstanceIdentifier) The identifier of the DB instance that you want to create the snapshot of.dbSnapshotIdentifier(String dbSnapshotIdentifier) The identifier for the DB snapshot.The tags to be assigned to the DB snapshot.
-
Method Details
-
create
@Stability(Stable) public static CfnDBSnapshot.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
CfnDBSnapshot.Builder.
-
dbInstanceIdentifier
The identifier of the DB instance that you want to create the snapshot of.- Parameters:
dbInstanceIdentifier- The identifier of the DB instance that you want to create the snapshot of. This parameter is required.- Returns:
this- See Also:
-
dbSnapshotIdentifier
The identifier for the DB snapshot.Must contain from 1 to 255 letters, numbers, or hyphens. First character must be a letter. Can't end with a hyphen or contain two consecutive hyphens.
- Parameters:
dbSnapshotIdentifier- The identifier for the DB snapshot. This parameter is required.- Returns:
this- See Also:
-
tags
The tags to be assigned to the DB snapshot.- Parameters:
tags- The tags to be assigned to the DB snapshot. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDBSnapshot>- Returns:
- a newly built instance of
CfnDBSnapshot.
-