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 |
accepterTransitGatewayAttachmentId(String accepterTransitGatewayAttachmentId)
The ID of the accepter transit gateway attachment.
|
TransitGatewayPeeringAttachment.Builder |
creationTime(Instant creationTime)
The time the transit gateway peering attachment was created.
|
default TransitGatewayPeeringAttachment.Builder |
options(Consumer<TransitGatewayPeeringAttachmentOptions.Builder> options)
Details about the transit gateway peering attachment.
|
TransitGatewayPeeringAttachment.Builder |
options(TransitGatewayPeeringAttachmentOptions options)
Details about the transit gateway peering attachment.
|
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 accepterTransitGatewayAttachmentId(String accepterTransitGatewayAttachmentId)
The ID of the accepter transit gateway attachment.
accepterTransitGatewayAttachmentId
- The ID of the accepter transit gateway 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 method 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 method 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 options(TransitGatewayPeeringAttachmentOptions options)
Details about the transit gateway peering attachment.
options
- Details about the transit gateway peering attachment.default TransitGatewayPeeringAttachment.Builder options(Consumer<TransitGatewayPeeringAttachmentOptions.Builder> options)
Details about the transit gateway peering attachment.
This is a convenience method that creates an instance of theTransitGatewayPeeringAttachmentOptions.Builder
avoiding the need to create one manually via
TransitGatewayPeeringAttachmentOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to options(TransitGatewayPeeringAttachmentOptions)
.
options
- a consumer that will call methods on TransitGatewayPeeringAttachmentOptions.Builder
options(TransitGatewayPeeringAttachmentOptions)
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 method 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. Note that the initiating
state has been
deprecated.
state
- The state of the transit gateway peering attachment. Note that the initiating
state has
been deprecated.TransitGatewayAttachmentState
,
TransitGatewayAttachmentState
TransitGatewayPeeringAttachment.Builder state(TransitGatewayAttachmentState state)
The state of the transit gateway peering attachment. Note that the initiating
state has been
deprecated.
state
- The state of the transit gateway peering attachment. Note that the initiating
state has
been deprecated.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 method that creates an instance of theTag.Builder
avoiding the need to create one manually via
Tag.builder()
.
When the Consumer
completes, SdkBuilder.build()
is
called immediately and its result is passed to #tags(List
.
tags
- a consumer that will call methods on Tag.Builder
#tags(java.util.Collection)
Copyright © 2023. All rights reserved.