Class DBClusterReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.docdb.DBClusterReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DBClusterReference>
- Enclosing interface:
DBClusterReference
@Stability(Stable)
public static final class DBClusterReference.Builder
extends Object
implements software.amazon.jsii.Builder<DBClusterReference>
A builder for
DBClusterReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dbClusterId(String dbClusterId) Sets the value ofDBClusterReference.getDbClusterId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dbClusterId
Sets the value ofDBClusterReference.getDbClusterId()- Parameters:
dbClusterId- The Id of the DBCluster resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DBClusterReference>- Returns:
- a new instance of
DBClusterReference - Throws:
NullPointerException- if any required attribute was not provided
-