Class CfnClusterSnapshotMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.rds.CfnClusterSnapshotMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterSnapshotMixinProps>
- Enclosing interface:
CfnClusterSnapshotMixinProps
@Stability(Stable)
public static final class CfnClusterSnapshotMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterSnapshotMixinProps>
A builder for
CfnClusterSnapshotMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dbClusterIdentifier(String dbClusterIdentifier) Sets the value ofCfnClusterSnapshotMixinProps.getDbClusterIdentifier()dbClusterSnapshotIdentifier(String dbClusterSnapshotIdentifier) Sets the value ofCfnClusterSnapshotMixinProps.getDbClusterSnapshotIdentifier()Sets the value ofCfnClusterSnapshotMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dbClusterIdentifier
@Stability(Stable) public CfnClusterSnapshotMixinProps.Builder dbClusterIdentifier(String dbClusterIdentifier) Sets the value ofCfnClusterSnapshotMixinProps.getDbClusterIdentifier()- Parameters:
dbClusterIdentifier- The identifier of the DB cluster to create a snapshot for.- Returns:
this
-
dbClusterSnapshotIdentifier
@Stability(Stable) public CfnClusterSnapshotMixinProps.Builder dbClusterSnapshotIdentifier(String dbClusterSnapshotIdentifier) Sets the value ofCfnClusterSnapshotMixinProps.getDbClusterSnapshotIdentifier()- Parameters:
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.- Returns:
this
-
tags
Sets the value ofCfnClusterSnapshotMixinProps.getTags()- Parameters:
tags- The tags to be assigned to the DB cluster snapshot.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterSnapshotMixinProps>- Returns:
- a new instance of
CfnClusterSnapshotMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-