Interface VpcAttachment.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VpcAttachment.Builder,,VpcAttachment> SdkBuilder<VpcAttachment.Builder,,VpcAttachment> SdkPojo
- Enclosing class:
VpcAttachment
@Mutable
@NotThreadSafe
public static interface VpcAttachment.Builder
extends SdkPojo, CopyableBuilder<VpcAttachment.Builder,VpcAttachment>
-
Method Summary
Modifier and TypeMethodDescriptiondefault VpcAttachment.Builderattachment(Consumer<Attachment.Builder> attachment) Provides details about the VPC attachment.attachment(Attachment attachment) Provides details about the VPC attachment.default VpcAttachment.Builderoptions(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaAttachment.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaVpcOptions.builder().When the
Consumercompletes,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:
-