public static interface TransitGatewayAttachment.Builder extends SdkPojo, CopyableBuilder<TransitGatewayAttachment.Builder,TransitGatewayAttachment>
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTransitGatewayAttachment.Builder transitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the attachment.
transitGatewayAttachmentId - The ID of the attachment.TransitGatewayAttachment.Builder transitGatewayId(String transitGatewayId)
The ID of the transit gateway.
transitGatewayId - The ID of the transit gateway.TransitGatewayAttachment.Builder transitGatewayOwnerId(String transitGatewayOwnerId)
The ID of the AWS account that owns the transit gateway.
transitGatewayOwnerId - The ID of the AWS account that owns the transit gateway.TransitGatewayAttachment.Builder resourceOwnerId(String resourceOwnerId)
The ID of the AWS account that owns the resource.
resourceOwnerId - The ID of the AWS account that owns the resource.TransitGatewayAttachment.Builder resourceType(String resourceType)
The resource type. Note that the tgw-peering resource type has been deprecated.
resourceType - The resource type. Note that the tgw-peering resource type has been deprecated.TransitGatewayAttachmentResourceType,
TransitGatewayAttachmentResourceTypeTransitGatewayAttachment.Builder resourceType(TransitGatewayAttachmentResourceType resourceType)
The resource type. Note that the tgw-peering resource type has been deprecated.
resourceType - The resource type. Note that the tgw-peering resource type has been deprecated.TransitGatewayAttachmentResourceType,
TransitGatewayAttachmentResourceTypeTransitGatewayAttachment.Builder resourceId(String resourceId)
The ID of the resource.
resourceId - The ID of the resource.TransitGatewayAttachment.Builder state(String state)
The attachment state. Note that the initiating state has been deprecated.
state - The attachment state. Note that the initiating state has been deprecated.TransitGatewayAttachmentState,
TransitGatewayAttachmentStateTransitGatewayAttachment.Builder state(TransitGatewayAttachmentState state)
The attachment state. Note that the initiating state has been deprecated.
state - The attachment state. Note that the initiating state has been deprecated.TransitGatewayAttachmentState,
TransitGatewayAttachmentStateTransitGatewayAttachment.Builder association(TransitGatewayAttachmentAssociation association)
The association.
association - The association.default TransitGatewayAttachment.Builder association(Consumer<TransitGatewayAttachmentAssociation.Builder> association)
The association.
This is a convenience that creates an instance of theTransitGatewayAttachmentAssociation.Builder
avoiding the need to create one manually via TransitGatewayAttachmentAssociation.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to association(TransitGatewayAttachmentAssociation).association - a consumer that will call methods on TransitGatewayAttachmentAssociation.Builderassociation(TransitGatewayAttachmentAssociation)TransitGatewayAttachment.Builder creationTime(Instant creationTime)
The creation time.
creationTime - The creation time.TransitGatewayAttachment.Builder tags(Collection<Tag> tags)
The tags for the attachment.
tags - The tags for the attachment.TransitGatewayAttachment.Builder tags(Tag... tags)
The tags for the attachment.
tags - The tags for the attachment.TransitGatewayAttachment.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the 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 #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) Copyright © 2021. All rights reserved.