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
-
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 Detail
-
attachmentId
UpdateVpcAttachmentRequest.Builder attachmentId(String 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
UpdateVpcAttachmentRequest.Builder addSubnetArns(Collection<String> 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
UpdateVpcAttachmentRequest.Builder addSubnetArns(String... 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
UpdateVpcAttachmentRequest.Builder removeSubnetArns(Collection<String> 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
UpdateVpcAttachmentRequest.Builder removeSubnetArns(String... 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
UpdateVpcAttachmentRequest.Builder options(VpcOptions 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
default UpdateVpcAttachmentRequest.Builder options(Consumer<VpcOptions.Builder> 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:
options(VpcOptions)
-
overrideConfiguration
UpdateVpcAttachmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateVpcAttachmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-