Class CfnDBSnapshotPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.rds.CfnDBSnapshotPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBSnapshotPropsMixin>
- Enclosing class:
CfnDBSnapshotPropsMixin
@Stability(Stable)
public static final class CfnDBSnapshotPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBSnapshotPropsMixin>
A fluent builder for
CfnDBSnapshotPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) dbInstanceIdentifier(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 CfnDBSnapshotPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDBSnapshotPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDBSnapshotPropsMixin.Builder.
-
dbInstanceIdentifier
@Stability(Stable) public CfnDBSnapshotPropsMixin.Builder dbInstanceIdentifier(String 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
@Stability(Stable) public CfnDBSnapshotPropsMixin.Builder dbSnapshotIdentifier(String 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<CfnDBSnapshotPropsMixin>- Returns:
- a newly built instance of
CfnDBSnapshotPropsMixin.
-