Class CfnDBCluster.ReadEndpointProperty.Builder
java.lang.Object
software.amazon.awscdk.services.rds.CfnDBCluster.ReadEndpointProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBCluster.ReadEndpointProperty>
- Enclosing interface:
CfnDBCluster.ReadEndpointProperty
@Stability(Stable)
public static final class CfnDBCluster.ReadEndpointProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDBCluster.ReadEndpointProperty>
A builder for
CfnDBCluster.ReadEndpointProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDBCluster.ReadEndpointProperty.getAddress()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
address
Sets the value ofCfnDBCluster.ReadEndpointProperty.getAddress()
- Parameters:
address
- The host address of the reader endpoint.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDBCluster.ReadEndpointProperty>
- Returns:
- a new instance of
CfnDBCluster.ReadEndpointProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-