public static interface TransitGatewayAttachment.Builder extends SdkPojo, CopyableBuilder<TransitGatewayAttachment.Builder,TransitGatewayAttachment>
equalsBySdkFields, sdkFields
copy
applyMutation, build
TransitGatewayAttachment.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.
resourceType
- The resource type.TransitGatewayAttachmentResourceType
,
TransitGatewayAttachmentResourceType
TransitGatewayAttachment.Builder resourceType(TransitGatewayAttachmentResourceType resourceType)
The resource type.
resourceType
- The resource type.TransitGatewayAttachmentResourceType
,
TransitGatewayAttachmentResourceType
TransitGatewayAttachment.Builder resourceId(String resourceId)
The ID of the resource.
resourceId
- The ID of the resource.TransitGatewayAttachment.Builder state(String state)
The attachment state.
state
- The attachment state.TransitGatewayAttachmentState
,
TransitGatewayAttachmentState
TransitGatewayAttachment.Builder state(TransitGatewayAttachmentState state)
The attachment state.
state
- The attachment state.TransitGatewayAttachmentState
,
TransitGatewayAttachmentState
TransitGatewayAttachment.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.Builder
association(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 © 2020. All rights reserved.