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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Endpoint.Builderaddress(String address)The DNS address of the VPC endpoint.Endpoint.Builderport(Integer port)The port that Amazon Redshift Serverless listens on.Endpoint.BuildervpcEndpoints(Collection<VpcEndpoint> vpcEndpoints)An array ofVpcEndpointobjects.Endpoint.BuildervpcEndpoints(Consumer<VpcEndpoint.Builder>... vpcEndpoints)An array ofVpcEndpointobjects.Endpoint.BuildervpcEndpoints(VpcEndpoint... vpcEndpoints)An array ofVpcEndpointobjects.-
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 Detail
-
address
Endpoint.Builder address(String address)
The DNS address of the VPC endpoint.
- Parameters:
address- The DNS address of the VPC endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
port
Endpoint.Builder port(Integer port)
The port that Amazon Redshift Serverless listens on.
- Parameters:
port- The port that Amazon Redshift Serverless listens on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpoints
Endpoint.Builder vpcEndpoints(Collection<VpcEndpoint> vpcEndpoints)
An array of
VpcEndpointobjects.- Parameters:
vpcEndpoints- An array ofVpcEndpointobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpoints
Endpoint.Builder vpcEndpoints(VpcEndpoint... vpcEndpoints)
An array of
VpcEndpointobjects.- Parameters:
vpcEndpoints- An array ofVpcEndpointobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcEndpoints
Endpoint.Builder vpcEndpoints(Consumer<VpcEndpoint.Builder>... vpcEndpoints)
An array of
This is a convenience method that creates an instance of theVpcEndpointobjects.VpcEndpoint.Builderavoiding the need to create one manually viaVpcEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#vpcEndpoints(List.) - 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:
#vpcEndpoints(java.util.Collection)
-
-