Class CfnClusterPropsMixin.EndpointProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.redshift.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 address of the cluster. This property is read only.- Returns:
this
-
port
Sets the value ofCfnClusterPropsMixin.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<CfnClusterPropsMixin.EndpointProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.EndpointProperty - Throws:
NullPointerException- if any required attribute was not provided
-