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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TransitGateway.BuildercreationTime(Instant creationTime)The creation time.TransitGateway.Builderdescription(String description)The description of the transit gateway.default TransitGateway.Builderoptions(Consumer<TransitGatewayOptions.Builder> options)The transit gateway options.TransitGateway.Builderoptions(TransitGatewayOptions options)The transit gateway options.TransitGateway.BuilderownerId(String ownerId)The ID of the Amazon Web Services account that owns the transit gateway.TransitGateway.Builderstate(String state)The state of the transit gateway.TransitGateway.Builderstate(TransitGatewayState state)The state of the transit gateway.TransitGateway.Buildertags(Collection<Tag> tags)The tags for the transit gateway.TransitGateway.Buildertags(Consumer<Tag.Builder>... tags)The tags for the transit gateway.TransitGateway.Buildertags(Tag... tags)The tags for the transit gateway.TransitGateway.BuildertransitGatewayArn(String transitGatewayArn)The Amazon Resource Name (ARN) of the transit gateway.TransitGateway.BuildertransitGatewayId(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
transitGatewayId
TransitGateway.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.
-
transitGatewayArn
TransitGateway.Builder transitGatewayArn(String 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
TransitGateway.Builder state(String 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:
TransitGatewayState,TransitGatewayState
-
state
TransitGateway.Builder state(TransitGatewayState 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:
TransitGatewayState,TransitGatewayState
-
ownerId
TransitGateway.Builder ownerId(String 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
TransitGateway.Builder description(String 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
TransitGateway.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
TransitGateway.Builder options(TransitGatewayOptions 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
default TransitGateway.Builder options(Consumer<TransitGatewayOptions.Builder> options)
The transit gateway options.
This is a convenience method that creates an instance of theTransitGatewayOptions.Builderavoiding the need to create one manually viaTransitGatewayOptions.builder().When the
Consumercompletes,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:
options(TransitGatewayOptions)
-
tags
TransitGateway.Builder tags(Collection<Tag> 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
TransitGateway.Builder tags(Tag... 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
TransitGateway.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the transit gateway.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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)
-
-