public static interface CreateTransitGatewayVpcAttachmentRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateTransitGatewayVpcAttachmentRequest.Builder,CreateTransitGatewayVpcAttachmentRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateTransitGatewayVpcAttachmentRequest.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 method 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.Builderoptions(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 method that creates an instance of theTagSpecification.Builder avoiding the need to create one
manually via TagSpecification.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #tagSpecifications(List.
tagSpecifications - a consumer that will call methods on
TagSpecification.Builder#tagSpecifications(java.util.Collection) CreateTransitGatewayVpcAttachmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateTransitGatewayVpcAttachmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.