Class CfnDatabaseSnapshotMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lightsail.CfnDatabaseSnapshotMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatabaseSnapshotMixinProps>
- Enclosing interface:
CfnDatabaseSnapshotMixinProps
@Stability(Stable)
public static final class CfnDatabaseSnapshotMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatabaseSnapshotMixinProps>
A builder for
CfnDatabaseSnapshotMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.relationalDatabaseName(String relationalDatabaseName) Sets the value ofCfnDatabaseSnapshotMixinProps.getRelationalDatabaseName()relationalDatabaseSnapshotName(String relationalDatabaseSnapshotName) Sets the value ofCfnDatabaseSnapshotMixinProps.getRelationalDatabaseSnapshotName()Sets the value ofCfnDatabaseSnapshotMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
relationalDatabaseName
@Stability(Stable) public CfnDatabaseSnapshotMixinProps.Builder relationalDatabaseName(String relationalDatabaseName) Sets the value ofCfnDatabaseSnapshotMixinProps.getRelationalDatabaseName()- Parameters:
relationalDatabaseName- The name of the database on which to base your new snapshot.- Returns:
this
-
relationalDatabaseSnapshotName
@Stability(Stable) public CfnDatabaseSnapshotMixinProps.Builder relationalDatabaseSnapshotName(String relationalDatabaseSnapshotName) Sets the value ofCfnDatabaseSnapshotMixinProps.getRelationalDatabaseSnapshotName()- Parameters:
relationalDatabaseSnapshotName- The name for your new database snapshot.- Returns:
this
-
tags
Sets the value ofCfnDatabaseSnapshotMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatabaseSnapshotMixinProps>- Returns:
- a new instance of
CfnDatabaseSnapshotMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-