Interface TransitGatewayConnect.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<TransitGatewayConnect.Builder,TransitGatewayConnect>
,SdkBuilder<TransitGatewayConnect.Builder,TransitGatewayConnect>
,SdkPojo
- Enclosing class:
- TransitGatewayConnect
public static interface TransitGatewayConnect.Builder extends SdkPojo, CopyableBuilder<TransitGatewayConnect.Builder,TransitGatewayConnect>
-
-
Method Summary
-
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 Detail
-
transitGatewayAttachmentId
TransitGatewayConnect.Builder transitGatewayAttachmentId(String transitGatewayAttachmentId)
The ID of the Connect attachment.
- Parameters:
transitGatewayAttachmentId
- The ID of the Connect attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transportTransitGatewayAttachmentId
TransitGatewayConnect.Builder transportTransitGatewayAttachmentId(String transportTransitGatewayAttachmentId)
The ID of the attachment from which the Connect attachment was created.
- Parameters:
transportTransitGatewayAttachmentId
- The ID of the attachment from which the Connect attachment was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transitGatewayId
TransitGatewayConnect.Builder transitGatewayId(String transitGatewayId)
The ID of the transit gateway.
- Parameters:
transitGatewayId
- The ID of the transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
TransitGatewayConnect.Builder state(String state)
The state of the attachment.
- Parameters:
state
- The state of the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TransitGatewayAttachmentState
,TransitGatewayAttachmentState
-
state
TransitGatewayConnect.Builder state(TransitGatewayAttachmentState state)
The state of the attachment.
- Parameters:
state
- The state of the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TransitGatewayAttachmentState
,TransitGatewayAttachmentState
-
creationTime
TransitGatewayConnect.Builder creationTime(Instant creationTime)
The creation time.
- Parameters:
creationTime
- The creation time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
TransitGatewayConnect.Builder options(TransitGatewayConnectOptions options)
The Connect attachment options.
- Parameters:
options
- The Connect attachment options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
default TransitGatewayConnect.Builder options(Consumer<TransitGatewayConnectOptions.Builder> options)
The Connect attachment options.
This is a convenience method that creates an instance of theTransitGatewayConnectOptions.Builder
avoiding the need to create one manually viaTransitGatewayConnectOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptions(TransitGatewayConnectOptions)
.- Parameters:
options
- a consumer that will call methods onTransitGatewayConnectOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
options(TransitGatewayConnectOptions)
-
tags
TransitGatewayConnect.Builder tags(Collection<Tag> tags)
The tags for the attachment.
- Parameters:
tags
- The tags for the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
TransitGatewayConnect.Builder tags(Tag... tags)
The tags for the attachment.
- Parameters:
tags
- The tags for the attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
TransitGatewayConnect.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the 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 to#tags(List
.) - 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:
#tags(java.util.Collection
)
-
-