Interface TransitGateway.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TransitGateway.Builder,
,TransitGateway> SdkBuilder<TransitGateway.Builder,
,TransitGateway> SdkPojo
- Enclosing class:
TransitGateway
public static interface TransitGateway.Builder
extends SdkPojo, CopyableBuilder<TransitGateway.Builder,TransitGateway>
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The creation time.description
(String description) The description of the transit gateway.default TransitGateway.Builder
options
(Consumer<TransitGatewayOptions.Builder> options) The transit gateway options.options
(TransitGatewayOptions options) The transit gateway options.The ID of the Amazon Web Services account that owns the transit gateway.The state of the transit gateway.state
(TransitGatewayState state) The state of the transit gateway.tags
(Collection<Tag> tags) The tags for the transit gateway.tags
(Consumer<Tag.Builder>... tags) The tags for the transit gateway.The tags for the transit gateway.transitGatewayArn
(String transitGatewayArn) The Amazon Resource Name (ARN) of the transit gateway.transitGatewayId
(String transitGatewayId) The ID of the transit gateway.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
-
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.
-
transitGatewayArn
The Amazon Resource Name (ARN) of the transit gateway.
- Parameters:
transitGatewayArn
- The Amazon Resource Name (ARN) of the transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the transit gateway.
- Parameters:
state
- The state of the transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the transit gateway.
- Parameters:
state
- The state of the transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ownerId
The ID of the Amazon Web Services account that owns the transit gateway.
- Parameters:
ownerId
- The ID of the Amazon Web Services account that owns the transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the transit gateway.
- Parameters:
description
- The description of the transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 transit gateway options.
- Parameters:
options
- The transit gateway options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
The transit gateway options.
This is a convenience method that creates an instance of theTransitGatewayOptions.Builder
avoiding the need to create one manually viaTransitGatewayOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptions(TransitGatewayOptions)
.- Parameters:
options
- a consumer that will call methods onTransitGatewayOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags for the transit gateway.
- Parameters:
tags
- The tags for the transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the transit gateway.
- Parameters:
tags
- The tags for the transit gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for the transit gateway.
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:
-