Class ClusterReference.Builder
java.lang.Object
software.amazon.awscdk.services.memorydb.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.clusterName
(String clusterName) Sets the value ofClusterReference.getClusterName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clusterName
Sets the value ofClusterReference.getClusterName()
- Parameters:
clusterName
- The ClusterName of the Cluster resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ClusterReference>
- Returns:
- a new instance of
ClusterReference
- Throws:
NullPointerException
- if any required attribute was not provided
-