Interface TransitGatewayConnect.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TransitGatewayConnect.Builder,
,TransitGatewayConnect> SdkBuilder<TransitGatewayConnect.Builder,
,TransitGatewayConnect> SdkPojo
- Enclosing class:
TransitGatewayConnect
@Mutable
@NotThreadSafe
public static interface TransitGatewayConnect.Builder
extends SdkPojo, CopyableBuilder<TransitGatewayConnect.Builder,TransitGatewayConnect>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The creation time.default TransitGatewayConnect.Builder
The Connect attachment options.options
(TransitGatewayConnectOptions options) The Connect attachment options.The state of the attachment.The state of the attachment.tags
(Collection<Tag> tags) The tags for the attachment.tags
(Consumer<Tag.Builder>... tags) The tags for the attachment.The tags for the attachment.transitGatewayAttachmentId
(String transitGatewayAttachmentId) The ID of the Connect attachment.transitGatewayId
(String transitGatewayId) The ID of the transit gateway.transportTransitGatewayAttachmentId
(String transportTransitGatewayAttachmentId) The ID of the attachment from which the Connect attachment was created.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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:
-
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:
-
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
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:
-
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
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
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 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:
-