public static interface CreateTransitGatewayConnectRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateTransitGatewayConnectRequest.Builder,CreateTransitGatewayConnectRequest>
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateTransitGatewayConnectRequest.Builder transportTransitGatewayAttachmentId(String transportTransitGatewayAttachmentId)
The ID of the transit gateway attachment. You can specify a VPC attachment or Amazon Web Services Direct Connect attachment.
transportTransitGatewayAttachmentId
- The ID of the transit gateway attachment. You can specify a VPC attachment or Amazon Web Services
Direct Connect attachment.CreateTransitGatewayConnectRequest.Builder options(CreateTransitGatewayConnectRequestOptions options)
The Connect attachment options.
options
- The Connect attachment options.default CreateTransitGatewayConnectRequest.Builder options(Consumer<CreateTransitGatewayConnectRequestOptions.Builder> options)
The Connect attachment options.
This is a convenience method that creates an instance of theCreateTransitGatewayConnectRequestOptions.Builder
avoiding the need to create one manually via
CreateTransitGatewayConnectRequestOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to options(CreateTransitGatewayConnectRequestOptions)
.
options
- a consumer that will call methods on CreateTransitGatewayConnectRequestOptions.Builder
options(CreateTransitGatewayConnectRequestOptions)
CreateTransitGatewayConnectRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the Connect attachment.
tagSpecifications
- The tags to apply to the Connect attachment.CreateTransitGatewayConnectRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the Connect attachment.
tagSpecifications
- The tags to apply to the Connect attachment.CreateTransitGatewayConnectRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the Connect 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)
CreateTransitGatewayConnectRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateTransitGatewayConnectRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.