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