Interface Endpoint.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Endpoint.Builder,
,Endpoint> SdkBuilder<Endpoint.Builder,
,Endpoint> SdkPojo
- Enclosing class:
Endpoint
public static interface Endpoint.Builder
extends SdkPojo, CopyableBuilder<Endpoint.Builder,Endpoint>
-
Method Summary
Modifier and TypeMethodDescriptionThe DNS address of the Cluster.The port that the database engine is listening on.vpcEndpoints
(Collection<VpcEndpoint> vpcEndpoints) Describes a connection endpoint.vpcEndpoints
(Consumer<VpcEndpoint.Builder>... vpcEndpoints) Describes a connection endpoint.vpcEndpoints
(VpcEndpoint... vpcEndpoints) Describes a connection endpoint.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
address
The DNS address of the Cluster.
- Parameters:
address
- The DNS address of the Cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
The port that the database engine is listening on.
- Parameters:
port
- The port that the database engine is listening on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpoints
Describes a connection endpoint.
- Parameters:
vpcEndpoints
- Describes a connection endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpoints
Describes a connection endpoint.
- Parameters:
vpcEndpoints
- Describes a connection endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpoints
Describes a connection endpoint.
This is a convenience method that creates an instance of theVpcEndpoint.Builder
avoiding the need to create one manually viaVpcEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcEndpoints(List<VpcEndpoint>)
.- Parameters:
vpcEndpoints
- a consumer that will call methods onVpcEndpoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-