public static interface TransitGatewayPeeringAttachment.Builder extends SdkPojo, CopyableBuilder<TransitGatewayPeeringAttachment.Builder,TransitGatewayPeeringAttachment>
Modifier and Type | Method and Description |
---|---|
default TransitGatewayPeeringAttachment.Builder |
accepterTgwInfo(Consumer<PeeringTgwInfo.Builder> accepterTgwInfo)
Information about the accepter transit gateway.
|
TransitGatewayPeeringAttachment.Builder |
accepterTgwInfo(PeeringTgwInfo accepterTgwInfo)
Information about the accepter transit gateway.
|
TransitGatewayPeeringAttachment.Builder |
creationTime(Instant creationTime)
The time the transit gateway peering attachment was created.
|
default TransitGatewayPeeringAttachment.Builder |
requesterTgwInfo(Consumer<PeeringTgwInfo.Builder> requesterTgwInfo)
Information about the requester transit gateway.
|
TransitGatewayPeeringAttachment.Builder |
requesterTgwInfo(PeeringTgwInfo requesterTgwInfo)
Information about the requester transit gateway.
|
TransitGatewayPeeringAttachment.Builder |
state(String state)
The state of the transit gateway peering attachment.
|
TransitGatewayPeeringAttachment.Builder |
state(TransitGatewayAttachmentState state)
The state of the transit gateway peering attachment.
|
default TransitGatewayPeeringAttachment.Builder |
status(Consumer<PeeringAttachmentStatus.Builder> status)
The status of the transit gateway peering attachment.
|
TransitGatewayPeeringAttachment.Builder |
status(PeeringAttachmentStatus status)
The status of the transit gateway peering attachment.
|
TransitGatewayPeeringAttachment.Builder |
tags(Collection<Tag> tags)
The tags for the transit gateway peering attachment.
|
TransitGatewayPeeringAttachment.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags for the transit gateway peering attachment.
|
TransitGatewayPeeringAttachment.Builder |
tags(Tag... tags)
The tags for the transit gateway peering attachment.
|
TransitGatewayPeeringAttachment.Builder |
transitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the transit gateway peering attachment.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
TransitGatewayPeeringAttachment.Builder transitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the transit gateway peering attachment.
transitGatewayAttachmentId
- The ID of the transit gateway peering attachment.TransitGatewayPeeringAttachment.Builder requesterTgwInfo(PeeringTgwInfo requesterTgwInfo)
Information about the requester transit gateway.
requesterTgwInfo
- Information about the requester transit gateway.default TransitGatewayPeeringAttachment.Builder requesterTgwInfo(Consumer<PeeringTgwInfo.Builder> requesterTgwInfo)
Information about the requester transit gateway.
This is a convenience that creates an instance of thePeeringTgwInfo.Builder
avoiding the need to
create one manually via PeeringTgwInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to requesterTgwInfo(PeeringTgwInfo)
.requesterTgwInfo
- a consumer that will call methods on PeeringTgwInfo.Builder
requesterTgwInfo(PeeringTgwInfo)
TransitGatewayPeeringAttachment.Builder accepterTgwInfo(PeeringTgwInfo accepterTgwInfo)
Information about the accepter transit gateway.
accepterTgwInfo
- Information about the accepter transit gateway.default TransitGatewayPeeringAttachment.Builder accepterTgwInfo(Consumer<PeeringTgwInfo.Builder> accepterTgwInfo)
Information about the accepter transit gateway.
This is a convenience that creates an instance of thePeeringTgwInfo.Builder
avoiding the need to
create one manually via PeeringTgwInfo.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to accepterTgwInfo(PeeringTgwInfo)
.accepterTgwInfo
- a consumer that will call methods on PeeringTgwInfo.Builder
accepterTgwInfo(PeeringTgwInfo)
TransitGatewayPeeringAttachment.Builder status(PeeringAttachmentStatus status)
The status of the transit gateway peering attachment.
status
- The status of the transit gateway peering attachment.default TransitGatewayPeeringAttachment.Builder status(Consumer<PeeringAttachmentStatus.Builder> status)
The status of the transit gateway peering attachment.
This is a convenience that creates an instance of thePeeringAttachmentStatus.Builder
avoiding the
need to create one manually via PeeringAttachmentStatus.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to status(PeeringAttachmentStatus)
.status
- a consumer that will call methods on PeeringAttachmentStatus.Builder
status(PeeringAttachmentStatus)
TransitGatewayPeeringAttachment.Builder state(String state)
The state of the transit gateway peering attachment.
state
- The state of the transit gateway peering attachment.TransitGatewayAttachmentState
,
TransitGatewayAttachmentState
TransitGatewayPeeringAttachment.Builder state(TransitGatewayAttachmentState state)
The state of the transit gateway peering attachment.
state
- The state of the transit gateway peering attachment.TransitGatewayAttachmentState
,
TransitGatewayAttachmentState
TransitGatewayPeeringAttachment.Builder creationTime(Instant creationTime)
The time the transit gateway peering attachment was created.
creationTime
- The time the transit gateway peering attachment was created.TransitGatewayPeeringAttachment.Builder tags(Collection<Tag> tags)
The tags for the transit gateway peering attachment.
tags
- The tags for the transit gateway peering attachment.TransitGatewayPeeringAttachment.Builder tags(Tag... tags)
The tags for the transit gateway peering attachment.
tags
- The tags for the transit gateway peering attachment.TransitGatewayPeeringAttachment.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the transit gateway peering 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.