Interface VpcEndpoint.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VpcEndpoint.Builder,
,VpcEndpoint> SdkBuilder<VpcEndpoint.Builder,
,VpcEndpoint> SdkPojo
- Enclosing class:
VpcEndpoint
@Mutable
@NotThreadSafe
public static interface VpcEndpoint.Builder
extends SdkPojo, CopyableBuilder<VpcEndpoint.Builder,VpcEndpoint>
-
Method Summary
Modifier and TypeMethodDescriptionvpcEndpointId
(String vpcEndpointId) The unique identifier of the endpoint.The ID for your VPC.default VpcEndpoint.Builder
vpcOptions
(Consumer<VpcOptions.Builder> vpcOptions) Information about the VPC, including associated subnets and security groups.vpcOptions
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
Information about the VPC, including associated subnets and security groups.
This is a convenience method that creates an instance of theVpcOptions.Builder
avoiding the need to create one manually viaVpcOptions.builder()
.When the
Consumer
completes,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:
-