public static interface CreateTransitGatewayPeeringAttachmentRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<CreateTransitGatewayPeeringAttachmentRequest.Builder,CreateTransitGatewayPeeringAttachmentRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateTransitGatewayPeeringAttachmentRequest.Builder transitGatewayId(String transitGatewayId)
The ID of the transit gateway.
transitGatewayId - The ID of the transit gateway.CreateTransitGatewayPeeringAttachmentRequest.Builder peerTransitGatewayId(String peerTransitGatewayId)
The ID of the peer transit gateway with which to create the peering attachment.
peerTransitGatewayId - The ID of the peer transit gateway with which to create the peering attachment.CreateTransitGatewayPeeringAttachmentRequest.Builder peerAccountId(String peerAccountId)
The ID of the Amazon Web Services account that owns the peer transit gateway.
peerAccountId - The ID of the Amazon Web Services account that owns the peer transit gateway.CreateTransitGatewayPeeringAttachmentRequest.Builder peerRegion(String peerRegion)
The Region where the peer transit gateway is located.
peerRegion - The Region where the peer transit gateway is located.CreateTransitGatewayPeeringAttachmentRequest.Builder options(CreateTransitGatewayPeeringAttachmentRequestOptions options)
Requests a transit gateway peering attachment.
options - Requests a transit gateway peering attachment.default CreateTransitGatewayPeeringAttachmentRequest.Builder options(Consumer<CreateTransitGatewayPeeringAttachmentRequestOptions.Builder> options)
Requests a transit gateway peering attachment.
This is a convenience method that creates an instance of theCreateTransitGatewayPeeringAttachmentRequestOptions.Builder avoiding the need to create one manually
via CreateTransitGatewayPeeringAttachmentRequestOptions.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to options(CreateTransitGatewayPeeringAttachmentRequestOptions).options - a consumer that will call methods on
CreateTransitGatewayPeeringAttachmentRequestOptions.Builderoptions(CreateTransitGatewayPeeringAttachmentRequestOptions)CreateTransitGatewayPeeringAttachmentRequest.Builder tagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to apply to the transit gateway peering attachment.
tagSpecifications - The tags to apply to the transit gateway peering attachment.CreateTransitGatewayPeeringAttachmentRequest.Builder tagSpecifications(TagSpecification... tagSpecifications)
The tags to apply to the transit gateway peering attachment.
tagSpecifications - The tags to apply to the transit gateway peering attachment.CreateTransitGatewayPeeringAttachmentRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications)
The tags to apply to the transit gateway peering attachment.
This is a convenience method 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) CreateTransitGatewayPeeringAttachmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateTransitGatewayPeeringAttachmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.