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