Class CfnGlobalCluster.GlobalEndpointProperty.Builder
java.lang.Object
software.amazon.awscdk.services.rds.CfnGlobalCluster.GlobalEndpointProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGlobalCluster.GlobalEndpointProperty>
- Enclosing interface:
CfnGlobalCluster.GlobalEndpointProperty
@Stability(Stable)
public static final class CfnGlobalCluster.GlobalEndpointProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGlobalCluster.GlobalEndpointProperty>
A builder for
CfnGlobalCluster.GlobalEndpointProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnGlobalCluster.GlobalEndpointProperty.getAddress()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
address
Sets the value ofCfnGlobalCluster.GlobalEndpointProperty.getAddress()- Parameters:
address- The writer endpoint for the new global database cluster. This endpoint always points to the writer DB instance in the current primary cluster.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGlobalCluster.GlobalEndpointProperty>- Returns:
- a new instance of
CfnGlobalCluster.GlobalEndpointProperty - Throws:
NullPointerException- if any required attribute was not provided
-