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