Interface TransitGatewayPeeringAttachment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TransitGatewayPeeringAttachment.Builder,
,TransitGatewayPeeringAttachment> SdkBuilder<TransitGatewayPeeringAttachment.Builder,
,TransitGatewayPeeringAttachment> SdkPojo
- Enclosing class:
TransitGatewayPeeringAttachment
-
Method Summary
Modifier and TypeMethodDescriptionaccepterTgwInfo
(Consumer<PeeringTgwInfo.Builder> accepterTgwInfo) Information about the accepter transit gateway.accepterTgwInfo
(PeeringTgwInfo accepterTgwInfo) Information about the accepter transit gateway.accepterTransitGatewayAttachmentId
(String accepterTransitGatewayAttachmentId) The ID of the accepter transit gateway attachment.creationTime
(Instant creationTime) The time the transit gateway peering attachment was created.Details about the transit gateway peering attachment.Details about the transit gateway peering attachment.requesterTgwInfo
(Consumer<PeeringTgwInfo.Builder> requesterTgwInfo) Information about the requester transit gateway.requesterTgwInfo
(PeeringTgwInfo requesterTgwInfo) Information about the requester transit gateway.The state of the transit gateway peering attachment.The state of the transit gateway peering attachment.The status of the transit gateway peering attachment.status
(PeeringAttachmentStatus status) The status of the transit gateway peering attachment.tags
(Collection<Tag> tags) The tags for the transit gateway peering attachment.tags
(Consumer<Tag.Builder>... tags) The tags for the transit gateway peering attachment.The tags for the transit gateway peering attachment.transitGatewayAttachmentId
(String transitGatewayAttachmentId) The ID of the transit gateway peering attachment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
transitGatewayAttachmentId
TransitGatewayPeeringAttachment.Builder transitGatewayAttachmentId(String transitGatewayAttachmentId) The ID of the transit gateway peering attachment.
- Parameters:
transitGatewayAttachmentId
- The ID of the transit gateway peering attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accepterTransitGatewayAttachmentId
TransitGatewayPeeringAttachment.Builder accepterTransitGatewayAttachmentId(String accepterTransitGatewayAttachmentId) The ID of the accepter transit gateway attachment.
- Parameters:
accepterTransitGatewayAttachmentId
- The ID of the accepter transit gateway attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requesterTgwInfo
Information about the requester transit gateway.
- Parameters:
requesterTgwInfo
- Information about the requester transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requesterTgwInfo
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 viaPeeringTgwInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torequesterTgwInfo(PeeringTgwInfo)
.- Parameters:
requesterTgwInfo
- a consumer that will call methods onPeeringTgwInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
accepterTgwInfo
Information about the accepter transit gateway.
- Parameters:
accepterTgwInfo
- Information about the accepter transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accepterTgwInfo
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 viaPeeringTgwInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccepterTgwInfo(PeeringTgwInfo)
.- Parameters:
accepterTgwInfo
- a consumer that will call methods onPeeringTgwInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
options
Details about the transit gateway peering attachment.
- Parameters:
options
- Details about the transit gateway peering attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
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 viaTransitGatewayPeeringAttachmentOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptions(TransitGatewayPeeringAttachmentOptions)
.- Parameters:
options
- a consumer that will call methods onTransitGatewayPeeringAttachmentOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the transit gateway peering attachment.
- Parameters:
status
- The status of the transit gateway peering attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
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 viaPeeringAttachmentStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(PeeringAttachmentStatus)
.- Parameters:
status
- a consumer that will call methods onPeeringAttachmentStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the transit gateway peering attachment. Note that the
initiating
state has been deprecated.- Parameters:
state
- The state of the transit gateway peering attachment. Note that theinitiating
state has been deprecated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the transit gateway peering attachment. Note that the
initiating
state has been deprecated.- Parameters:
state
- The state of the transit gateway peering attachment. Note that theinitiating
state has been deprecated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The time the transit gateway peering attachment was created.
- Parameters:
creationTime
- The time the transit gateway peering attachment was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the transit gateway peering attachment.
- Parameters:
tags
- The tags for the transit gateway peering attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the transit gateway peering attachment.
- Parameters:
tags
- The tags for the transit gateway peering attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-