Class CfnCluster.EndpointProperty.Builder
java.lang.Object
software.amazon.awscdk.services.memorydb.CfnCluster.EndpointProperty.Builder
- All Implemented Interfaces:
- software.amazon.jsii.Builder<CfnCluster.EndpointProperty>
- Enclosing interface:
- CfnCluster.EndpointProperty
@Stability(Stable)
public static final class CfnCluster.EndpointProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.EndpointProperty>
A builder for 
CfnCluster.EndpointProperty- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionSets the value ofCfnCluster.EndpointProperty.getAddress()build()Builds the configured instance.Sets the value ofCfnCluster.EndpointProperty.getPort()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
addressSets the value ofCfnCluster.EndpointProperty.getAddress()- Parameters:
- address- The DNS hostname of the node.
- Returns:
- this
 
- 
portSets the value ofCfnCluster.EndpointProperty.getPort()- Parameters:
- port- The port number that the engine is listening on.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnCluster.EndpointProperty>
- Returns:
- a new instance of CfnCluster.EndpointProperty
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-