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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VpcEndpoint.BuildernetworkInterfaces(Collection<NetworkInterface> networkInterfaces)One or more network interfaces of the endpoint.VpcEndpoint.BuildernetworkInterfaces(Consumer<NetworkInterface.Builder>... networkInterfaces)One or more network interfaces of the endpoint.VpcEndpoint.BuildernetworkInterfaces(NetworkInterface... networkInterfaces)One or more network interfaces of the endpoint.VpcEndpoint.BuildervpcEndpointId(String vpcEndpointId)The connection endpoint ID for connecting to Amazon Redshift Serverless.VpcEndpoint.BuildervpcId(String vpcId)The VPC identifier that the endpoint is associated with.-
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
-
networkInterfaces
VpcEndpoint.Builder networkInterfaces(Collection<NetworkInterface> 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
VpcEndpoint.Builder networkInterfaces(NetworkInterface... 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
VpcEndpoint.Builder networkInterfaces(Consumer<NetworkInterface.Builder>... 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 to#networkInterfaces(List.) - 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:
#networkInterfaces(java.util.Collection)
-
vpcEndpointId
VpcEndpoint.Builder vpcEndpointId(String vpcEndpointId)
The connection endpoint ID for connecting to Amazon Redshift Serverless.
- Parameters:
vpcEndpointId- The connection endpoint ID for connecting to Amazon Redshift Serverless.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
VpcEndpoint.Builder vpcId(String vpcId)
The VPC identifier that the endpoint is associated with.
- Parameters:
vpcId- The VPC identifier that the endpoint is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-