Class CfnDatabaseSnapshot.Builder
java.lang.Object
software.amazon.awscdk.services.lightsail.CfnDatabaseSnapshot.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatabaseSnapshot>
- Enclosing class:
CfnDatabaseSnapshot
@Stability(Stable)
public static final class CfnDatabaseSnapshot.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatabaseSnapshot>
A fluent builder for
CfnDatabaseSnapshot.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnDatabaseSnapshot.BuilderrelationalDatabaseName(String relationalDatabaseName) The name of the database on which to base your new snapshot.relationalDatabaseSnapshotName(String relationalDatabaseSnapshotName) The name for your new database snapshot.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnDatabaseSnapshot.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
CfnDatabaseSnapshot.Builder.
-
relationalDatabaseName
@Stability(Stable) public CfnDatabaseSnapshot.Builder relationalDatabaseName(String relationalDatabaseName) The name of the database on which to base your new snapshot.- Parameters:
relationalDatabaseName- The name of the database on which to base your new snapshot. This parameter is required.- Returns:
this- See Also:
-
relationalDatabaseSnapshotName
@Stability(Stable) public CfnDatabaseSnapshot.Builder relationalDatabaseSnapshotName(String relationalDatabaseSnapshotName) The name for your new database snapshot.- Parameters:
relationalDatabaseSnapshotName- The name for your new database snapshot. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatabaseSnapshot>- Returns:
- a newly built instance of
CfnDatabaseSnapshot.
-