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