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