Interface UpdateVpcAttachmentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateVpcAttachmentRequest.Builder,,UpdateVpcAttachmentRequest> NetworkManagerRequest.Builder,SdkBuilder<UpdateVpcAttachmentRequest.Builder,,UpdateVpcAttachmentRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateVpcAttachmentRequest
@Mutable
@NotThreadSafe
public static interface UpdateVpcAttachmentRequest.Builder
extends NetworkManagerRequest.Builder, SdkPojo, CopyableBuilder<UpdateVpcAttachmentRequest.Builder,UpdateVpcAttachmentRequest>
-
Method Summary
Modifier and TypeMethodDescriptionaddSubnetArns(String... addSubnetArns) Adds a subnet ARN to the VPC attachment.addSubnetArns(Collection<String> addSubnetArns) Adds a subnet ARN to the VPC attachment.attachmentId(String attachmentId) The ID of the attachment.options(Consumer<VpcOptions.Builder> options) Additional options for updating the VPC attachment.options(VpcOptions options) Additional options for updating the VPC attachment.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.removeSubnetArns(String... removeSubnetArns) Removes a subnet ARN from the attachment.removeSubnetArns(Collection<String> removeSubnetArns) Removes a subnet ARN from the attachment.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
attachmentId
The ID of the attachment.
- Parameters:
attachmentId- The ID of the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addSubnetArns
Adds a subnet ARN to the VPC attachment.
- Parameters:
addSubnetArns- Adds a subnet ARN to the VPC attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addSubnetArns
Adds a subnet ARN to the VPC attachment.
- Parameters:
addSubnetArns- Adds a subnet ARN to the VPC attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeSubnetArns
Removes a subnet ARN from the attachment.
- Parameters:
removeSubnetArns- Removes a subnet ARN from the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeSubnetArns
Removes a subnet ARN from the attachment.
- Parameters:
removeSubnetArns- Removes a subnet ARN from the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
Additional options for updating the VPC attachment.
- Parameters:
options- Additional options for updating the VPC attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
Additional options for updating 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:
-
overrideConfiguration
UpdateVpcAttachmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateVpcAttachmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-