public static interface ModifyTransitGatewayVpcAttachmentRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<ModifyTransitGatewayVpcAttachmentRequest.Builder,ModifyTransitGatewayVpcAttachmentRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildModifyTransitGatewayVpcAttachmentRequest.Builder transitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the attachment.
transitGatewayAttachmentId - The ID of the attachment.ModifyTransitGatewayVpcAttachmentRequest.Builder addSubnetIds(Collection<String> addSubnetIds)
The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.
addSubnetIds - The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.ModifyTransitGatewayVpcAttachmentRequest.Builder addSubnetIds(String... addSubnetIds)
The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.
addSubnetIds - The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.ModifyTransitGatewayVpcAttachmentRequest.Builder removeSubnetIds(Collection<String> removeSubnetIds)
The IDs of one or more subnets to remove.
removeSubnetIds - The IDs of one or more subnets to remove.ModifyTransitGatewayVpcAttachmentRequest.Builder removeSubnetIds(String... removeSubnetIds)
The IDs of one or more subnets to remove.
removeSubnetIds - The IDs of one or more subnets to remove.ModifyTransitGatewayVpcAttachmentRequest.Builder options(ModifyTransitGatewayVpcAttachmentRequestOptions options)
The new VPC attachment options.
options - The new VPC attachment options.default ModifyTransitGatewayVpcAttachmentRequest.Builder options(Consumer<ModifyTransitGatewayVpcAttachmentRequestOptions.Builder> options)
The new VPC attachment options.
This is a convenience method that creates an instance of theModifyTransitGatewayVpcAttachmentRequestOptions.Builder avoiding the need to create one manually via
ModifyTransitGatewayVpcAttachmentRequestOptions.builder().
When the Consumer completes, SdkBuilder.build()
is called immediately and its result is passed to
options(ModifyTransitGatewayVpcAttachmentRequestOptions).
options - a consumer that will call methods on ModifyTransitGatewayVpcAttachmentRequestOptions.Builderoptions(ModifyTransitGatewayVpcAttachmentRequestOptions)ModifyTransitGatewayVpcAttachmentRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.
dryRun - Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.ModifyTransitGatewayVpcAttachmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderModifyTransitGatewayVpcAttachmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.