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 VPC endpoint.
|
Endpoint.Builder |
port(Integer port)
The port that Amazon Redshift Serverless listens on.
|
Endpoint.Builder |
vpcEndpoints(Collection<VpcEndpoint> vpcEndpoints)
An array of
VpcEndpoint objects. |
Endpoint.Builder |
vpcEndpoints(Consumer<VpcEndpoint.Builder>... vpcEndpoints)
An array of
VpcEndpoint objects. |
Endpoint.Builder |
vpcEndpoints(VpcEndpoint... vpcEndpoints)
An array of
VpcEndpoint objects. |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEndpoint.Builder address(String address)
The DNS address of the VPC endpoint.
address - The DNS address of the VPC endpoint.Endpoint.Builder port(Integer port)
The port that Amazon Redshift Serverless listens on.
port - The port that Amazon Redshift Serverless listens on.Endpoint.Builder vpcEndpoints(Collection<VpcEndpoint> vpcEndpoints)
An array of VpcEndpoint objects.
vpcEndpoints - An array of VpcEndpoint objects.Endpoint.Builder vpcEndpoints(VpcEndpoint... vpcEndpoints)
An array of VpcEndpoint objects.
vpcEndpoints - An array of VpcEndpoint objects.Endpoint.Builder vpcEndpoints(Consumer<VpcEndpoint.Builder>... vpcEndpoints)
An array of VpcEndpoint objects.
VpcEndpoint.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.