Interface VpcOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VpcOptions.Builder,
,VpcOptions> SdkBuilder<VpcOptions.Builder,
,VpcOptions> SdkPojo
- Enclosing class:
VpcOptions
public static interface VpcOptions.Builder
extends SdkPojo, CopyableBuilder<VpcOptions.Builder,VpcOptions>
-
Method Summary
Modifier and TypeMethodDescriptionsecurityGroupIds
(String... securityGroupIds) A list of security groups associated with the VPC endpoint.securityGroupIds
(Collection<String> securityGroupIds) A list of security groups associated with the VPC endpoint.A list of subnet IDs associated with the VPC endpoint.subnetIds
(Collection<String> subnetIds) A list of subnet IDs associated with the VPC endpoint.default VpcOptions.Builder
vpcAttachmentOptions
(Consumer<VpcAttachmentOptions.Builder> vpcAttachmentOptions) Options for attaching a VPC to a pipeline.vpcAttachmentOptions
(VpcAttachmentOptions vpcAttachmentOptions) Options for attaching a VPC to a pipeline.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 Details
-
subnetIds
A list of subnet IDs associated with the VPC endpoint.
- Parameters:
subnetIds
- A list of subnet IDs associated with the VPC endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetIds
A list of subnet IDs associated with the VPC endpoint.
- Parameters:
subnetIds
- A list of subnet IDs associated with the VPC endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
A list of security groups associated with the VPC endpoint.
- Parameters:
securityGroupIds
- A list of security groups associated with the VPC endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
securityGroupIds
A list of security groups associated with the VPC endpoint.
- Parameters:
securityGroupIds
- A list of security groups associated with the VPC endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcAttachmentOptions
Options for attaching a VPC to a pipeline.
- Parameters:
vpcAttachmentOptions
- Options for attaching a VPC to a pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcAttachmentOptions
default VpcOptions.Builder vpcAttachmentOptions(Consumer<VpcAttachmentOptions.Builder> vpcAttachmentOptions) Options for attaching a VPC to a pipeline.
This is a convenience method that creates an instance of theVpcAttachmentOptions.Builder
avoiding the need to create one manually viaVpcAttachmentOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcAttachmentOptions(VpcAttachmentOptions)
.- Parameters:
vpcAttachmentOptions
- a consumer that will call methods onVpcAttachmentOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-