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