Interface VpcAttachment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VpcAttachment.Builder,
,VpcAttachment> SdkBuilder<VpcAttachment.Builder,
,VpcAttachment> SdkPojo
- Enclosing class:
VpcAttachment
public static interface VpcAttachment.Builder
extends SdkPojo, CopyableBuilder<VpcAttachment.Builder,VpcAttachment>
-
Method Summary
Modifier and TypeMethodDescriptiondefault VpcAttachment.Builder
attachment
(Consumer<Attachment.Builder> attachment) Provides details about the VPC attachment.attachment
(Attachment attachment) Provides details about the VPC attachment.default VpcAttachment.Builder
options
(Consumer<VpcOptions.Builder> options) Provides details about the VPC attachment.options
(VpcOptions options) Provides details about the VPC attachment.subnetArns
(String... subnetArns) The subnet ARNs.subnetArns
(Collection<String> subnetArns) The subnet ARNs.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
-
attachment
Provides details about the VPC attachment.
- Parameters:
attachment
- Provides details about the VPC attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachment
Provides details about the VPC attachment.
This is a convenience method that creates an instance of theAttachment.Builder
avoiding the need to create one manually viaAttachment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattachment(Attachment)
.- Parameters:
attachment
- a consumer that will call methods onAttachment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subnetArns
The subnet ARNs.
- Parameters:
subnetArns
- The subnet ARNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetArns
The subnet ARNs.
- Parameters:
subnetArns
- The subnet ARNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
Provides details about the VPC attachment.
- Parameters:
options
- Provides details about the VPC attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
Provides details about the VPC attachment.
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 tooptions(VpcOptions)
.- Parameters:
options
- 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:
-