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