public static final class CfnCluster.EndpointProperty.Builder
extends java.lang.Object
CfnCluster.EndpointProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnCluster.EndpointProperty.Builder |
address(java.lang.String address)
Sets the value of
CfnCluster.EndpointProperty.getAddress() |
CfnCluster.EndpointProperty |
build()
Builds the configured instance.
|
CfnCluster.EndpointProperty.Builder |
port(java.lang.Number port)
Sets the value of
CfnCluster.EndpointProperty.getPort() |
public CfnCluster.EndpointProperty.Builder address(java.lang.String address)
CfnCluster.EndpointProperty.getAddress()
address
- The DNS hostname of the node.this
public CfnCluster.EndpointProperty.Builder port(java.lang.Number port)
CfnCluster.EndpointProperty.getPort()
port
- The port number that the engine is listening on.this
public CfnCluster.EndpointProperty build()
CfnCluster.EndpointProperty
java.lang.NullPointerException
- if any required attribute was not provided