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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default VpcAttachment.Builderattachment(Consumer<Attachment.Builder> attachment)Provides details about the VPC attachment.VpcAttachment.Builderattachment(Attachment attachment)Provides details about the VPC attachment.default VpcAttachment.Builderoptions(Consumer<VpcOptions.Builder> options)Provides details about the VPC attachment.VpcAttachment.Builderoptions(VpcOptions options)Provides details about the VPC attachment.VpcAttachment.BuildersubnetArns(String... subnetArns)The subnet ARNs.VpcAttachment.BuildersubnetArns(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 Detail
-
attachment
VpcAttachment.Builder attachment(Attachment 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
default VpcAttachment.Builder attachment(Consumer<Attachment.Builder> 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:
attachment(Attachment)
-
subnetArns
VpcAttachment.Builder subnetArns(Collection<String> 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
VpcAttachment.Builder subnetArns(String... 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
VpcAttachment.Builder options(VpcOptions 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
default VpcAttachment.Builder options(Consumer<VpcOptions.Builder> 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:
options(VpcOptions)
-
-