Interface VpcEndpoint.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VpcEndpoint.Builder,,VpcEndpoint> SdkBuilder<VpcEndpoint.Builder,,VpcEndpoint> SdkPojo
- Enclosing class:
VpcEndpoint
public static interface VpcEndpoint.Builder
extends SdkPojo, CopyableBuilder<VpcEndpoint.Builder,VpcEndpoint>
-
Method Summary
Modifier and TypeMethodDescriptionnetworkInterfaces(Collection<NetworkInterface> networkInterfaces) One or more network interfaces of the endpoint.networkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces) One or more network interfaces of the endpoint.networkInterfaces(NetworkInterface... networkInterfaces) One or more network interfaces of the endpoint.vpcEndpointId(String vpcEndpointId) The connection endpoint ID for connecting an Amazon Redshift cluster through the proxy.The VPC identifier that the endpoint is associated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
vpcEndpointId
The connection endpoint ID for connecting an Amazon Redshift cluster through the proxy.
- Parameters:
vpcEndpointId- The connection endpoint ID for connecting an Amazon Redshift cluster through the proxy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
The VPC identifier that the endpoint is associated.
- Parameters:
vpcId- The VPC identifier that the endpoint is associated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
One or more network interfaces of the endpoint. Also known as an interface endpoint.
- Parameters:
networkInterfaces- One or more network interfaces of the endpoint. Also known as an interface endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
One or more network interfaces of the endpoint. Also known as an interface endpoint.
- Parameters:
networkInterfaces- One or more network interfaces of the endpoint. Also known as an interface endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkInterfaces
One or more network interfaces of the endpoint. Also known as an interface endpoint.
This is a convenience method that creates an instance of theNetworkInterface.Builderavoiding the need to create one manually viaNetworkInterface.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkInterfaces(List<NetworkInterface>).- Parameters:
networkInterfaces- a consumer that will call methods onNetworkInterface.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-