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