public static interface Endpoint.Builder extends SdkPojo, CopyableBuilder<Endpoint.Builder,Endpoint>
| Modifier and Type | Method and Description |
|---|---|
Endpoint.Builder |
address(String address)
The DNS address of the Cluster.
|
Endpoint.Builder |
port(Integer port)
The port that the database engine is listening on.
|
Endpoint.Builder |
vpcEndpoints(Collection<VpcEndpoint> vpcEndpoints)
Describes a connection endpoint.
|
Endpoint.Builder |
vpcEndpoints(Consumer<VpcEndpoint.Builder>... vpcEndpoints)
Describes a connection endpoint.
|
Endpoint.Builder |
vpcEndpoints(VpcEndpoint... vpcEndpoints)
Describes a connection endpoint.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEndpoint.Builder address(String address)
The DNS address of the Cluster.
address - The DNS address of the Cluster.Endpoint.Builder port(Integer port)
The port that the database engine is listening on.
port - The port that the database engine is listening on.Endpoint.Builder vpcEndpoints(Collection<VpcEndpoint> vpcEndpoints)
Describes a connection endpoint.
vpcEndpoints - Describes a connection endpoint.Endpoint.Builder vpcEndpoints(VpcEndpoint... vpcEndpoints)
Describes a connection endpoint.
vpcEndpoints - Describes a connection endpoint.Endpoint.Builder vpcEndpoints(Consumer<VpcEndpoint.Builder>... vpcEndpoints)
Describes a connection endpoint.
This is a convenience method that creates an instance of theVpcEndpoint.Builder avoiding the need to create one
manually via VpcEndpoint.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #vpcEndpoints(List.
vpcEndpoints - a consumer that will call methods on
VpcEndpoint.Builder#vpcEndpoints(java.util.Collection) Copyright © 2023. All rights reserved.