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