Class CfnDBClusterPropsMixin.EndpointProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.rds.CfnDBClusterPropsMixin.EndpointProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBClusterPropsMixin.EndpointProperty>
- Enclosing interface:
CfnDBClusterPropsMixin.EndpointProperty
@Stability(Stable)
public static final class CfnDBClusterPropsMixin.EndpointProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBClusterPropsMixin.EndpointProperty>
A builder for
CfnDBClusterPropsMixin.EndpointProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDBClusterPropsMixin.EndpointProperty.getAddress()build()Builds the configured instance.Sets the value ofCfnDBClusterPropsMixin.EndpointProperty.getPort()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
address
Sets the value ofCfnDBClusterPropsMixin.EndpointProperty.getAddress()- Parameters:
address- Specifies the connection endpoint for the primary instance of the DB cluster.- Returns:
this
-
port
Sets the value ofCfnDBClusterPropsMixin.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<CfnDBClusterPropsMixin.EndpointProperty>- Returns:
- a new instance of
CfnDBClusterPropsMixin.EndpointProperty - Throws:
NullPointerException- if any required attribute was not provided
-