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