Interface UpdateVpcAttachmentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateVpcAttachmentRequest.Builder,
,UpdateVpcAttachmentRequest> NetworkManagerRequest.Builder
,SdkBuilder<UpdateVpcAttachmentRequest.Builder,
,UpdateVpcAttachmentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateVpcAttachmentRequest
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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.networkmanager.model.NetworkManagerRequest.Builder
build
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
-
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.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:
-
overrideConfiguration
UpdateVpcAttachmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-