Class CfnCluster.EndpointProperty.Builder
java.lang.Object
software.amazon.awscdk.services.redshift.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnCluster.EndpointProperty.getAddress()build()Builds the configured instance.Sets the value ofCfnCluster.EndpointProperty.getPort()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
address
Sets the value ofCfnCluster.EndpointProperty.getAddress()- Parameters:
address- The DNS address of the cluster. This property is read only.- Returns:
this
-
port
Sets the value ofCfnCluster.EndpointProperty.getPort()- Parameters:
port- The port that the database engine is listening on. This property is read only.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.EndpointProperty>- Returns:
- a new instance of
CfnCluster.EndpointProperty - Throws:
NullPointerException- if any required attribute was not provided
-