Class DBClusterReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.neptune.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.dbClusterIdentifier(String dbClusterIdentifier) Sets the value ofDBClusterReference.getDbClusterIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
dbClusterIdentifier
@Stability(Stable) public DBClusterReference.Builder dbClusterIdentifier(String dbClusterIdentifier) Sets the value ofDBClusterReference.getDbClusterIdentifier()- Parameters:
dbClusterIdentifier- The DBClusterIdentifier 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
-