public static interface TransitGatewayVpcAttachment.Builder extends SdkPojo, CopyableBuilder<TransitGatewayVpcAttachment.Builder,TransitGatewayVpcAttachment>
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTransitGatewayVpcAttachment.Builder transitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the attachment.
transitGatewayAttachmentId - The ID of the attachment.TransitGatewayVpcAttachment.Builder transitGatewayId(String transitGatewayId)
The ID of the transit gateway.
transitGatewayId - The ID of the transit gateway.TransitGatewayVpcAttachment.Builder vpcId(String vpcId)
The ID of the VPC.
vpcId - The ID of the VPC.TransitGatewayVpcAttachment.Builder vpcOwnerId(String vpcOwnerId)
The ID of the Amazon Web Services account that owns the VPC.
vpcOwnerId - The ID of the Amazon Web Services account that owns the VPC.TransitGatewayVpcAttachment.Builder state(String state)
The state of the VPC attachment. Note that the initiating state has been deprecated.
state - The state of the VPC attachment. Note that the initiating state has been deprecated.TransitGatewayAttachmentState,
TransitGatewayAttachmentStateTransitGatewayVpcAttachment.Builder state(TransitGatewayAttachmentState state)
The state of the VPC attachment. Note that the initiating state has been deprecated.
state - The state of the VPC attachment. Note that the initiating state has been deprecated.TransitGatewayAttachmentState,
TransitGatewayAttachmentStateTransitGatewayVpcAttachment.Builder subnetIds(Collection<String> subnetIds)
The IDs of the subnets.
subnetIds - The IDs of the subnets.TransitGatewayVpcAttachment.Builder subnetIds(String... subnetIds)
The IDs of the subnets.
subnetIds - The IDs of the subnets.TransitGatewayVpcAttachment.Builder creationTime(Instant creationTime)
The creation time.
creationTime - The creation time.TransitGatewayVpcAttachment.Builder options(TransitGatewayVpcAttachmentOptions options)
The VPC attachment options.
options - The VPC attachment options.default TransitGatewayVpcAttachment.Builder options(Consumer<TransitGatewayVpcAttachmentOptions.Builder> options)
The VPC attachment options.
This is a convenience method that creates an instance of theTransitGatewayVpcAttachmentOptions.Builder avoiding the need to create one manually via
TransitGatewayVpcAttachmentOptions.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to options(TransitGatewayVpcAttachmentOptions).options - a consumer that will call methods on TransitGatewayVpcAttachmentOptions.Builderoptions(TransitGatewayVpcAttachmentOptions)TransitGatewayVpcAttachment.Builder tags(Collection<Tag> tags)
The tags for the VPC attachment.
tags - The tags for the VPC attachment.TransitGatewayVpcAttachment.Builder tags(Tag... tags)
The tags for the VPC attachment.
tags - The tags for the VPC attachment.TransitGatewayVpcAttachment.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the VPC 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 #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) Copyright © 2022. All rights reserved.