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 Default Methods Modifier and Type Method Description VpcEndpoint.BuildervpcEndpointId(String vpcEndpointId)The unique identifier of the endpoint.VpcEndpoint.BuildervpcId(String vpcId)The ID for your VPC.default VpcEndpoint.BuildervpcOptions(Consumer<VpcOptions.Builder> vpcOptions)Information about the VPC, including associated subnets and security groups.VpcEndpoint.BuildervpcOptions(VpcOptions vpcOptions)Information about the VPC, including associated subnets and security groups.-
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
-
vpcEndpointId
VpcEndpoint.Builder vpcEndpointId(String vpcEndpointId)
The unique identifier of the endpoint.
- Parameters:
vpcEndpointId- The unique identifier of the endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcId
VpcEndpoint.Builder vpcId(String vpcId)
The ID for your VPC. Amazon Web Services PrivateLink generates this value when you create a VPC.
- Parameters:
vpcId- The ID for your VPC. Amazon Web Services PrivateLink generates this value when you create a VPC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcOptions
VpcEndpoint.Builder vpcOptions(VpcOptions vpcOptions)
Information about the VPC, including associated subnets and security groups.
- Parameters:
vpcOptions- Information about the VPC, including associated subnets and security groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcOptions
default VpcEndpoint.Builder vpcOptions(Consumer<VpcOptions.Builder> vpcOptions)
Information about the VPC, including associated subnets and security groups.
This is a convenience method that creates an instance of theVpcOptions.Builderavoiding the need to create one manually viaVpcOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcOptions(VpcOptions).- Parameters:
vpcOptions- a consumer that will call methods onVpcOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpcOptions(VpcOptions)
-
-