public static interface CreateTransitGatewayVpcAttachmentRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateTransitGatewayVpcAttachmentRequest.Builder,CreateTransitGatewayVpcAttachmentRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateTransitGatewayVpcAttachmentRequest.Builder transitGatewayId(String transitGatewayId)
The ID of the transit gateway.
transitGatewayId
- The ID of the transit gateway.CreateTransitGatewayVpcAttachmentRequest.Builder vpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.CreateTransitGatewayVpcAttachmentRequest.Builder subnetIds(Collection<String> subnetIds)
The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.
subnetIds
- The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must
specify at least one subnet, but we recommend that you specify two subnets for better availability.
The transit gateway uses one IP address from each specified subnet.CreateTransitGatewayVpcAttachmentRequest.Builder subnetIds(String... subnetIds)
The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must specify at least one subnet, but we recommend that you specify two subnets for better availability. The transit gateway uses one IP address from each specified subnet.
subnetIds
- The IDs of one or more subnets. You can specify only one subnet per Availability Zone. You must
specify at least one subnet, but we recommend that you specify two subnets for better availability.
The transit gateway uses one IP address from each specified subnet.CreateTransitGatewayVpcAttachmentRequest.Builder options(CreateTransitGatewayVpcAttachmentRequestOptions options)
The VPC attachment options.
options
- The VPC attachment options.default CreateTransitGatewayVpcAttachmentRequest.Builder options(Consumer<CreateTransitGatewayVpcAttachmentRequestOptions.Builder> options)
The VPC attachment options.
This is a convenience that creates an instance of theCreateTransitGatewayVpcAttachmentRequestOptions.Builder
avoiding the need to create one manually via
CreateTransitGatewayVpcAttachmentRequestOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is passed to
options(CreateTransitGatewayVpcAttachmentRequestOptions)
.options
- a consumer that will call methods on CreateTransitGatewayVpcAttachmentRequestOptions.Builder
options(CreateTransitGatewayVpcAttachmentRequestOptions)
CreateTransitGatewayVpcAttachmentRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the VPC attachment.
tagSpecifications
- The tags to apply to the VPC attachment.CreateTransitGatewayVpcAttachmentRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the VPC attachment.
tagSpecifications
- The tags to apply to the VPC attachment.CreateTransitGatewayVpcAttachmentRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the VPC attachment.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #tagSpecifications(List)
.tagSpecifications
- a consumer that will call methods on List.Builder
#tagSpecifications(List)
CreateTransitGatewayVpcAttachmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateTransitGatewayVpcAttachmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2021. All rights reserved.