public static interface TransitGateway.Builder extends SdkPojo, CopyableBuilder<TransitGateway.Builder,TransitGateway>
Modifier and Type | Method and Description |
---|---|
TransitGateway.Builder |
creationTime(Instant creationTime)
The creation time.
|
TransitGateway.Builder |
description(String description)
The description of the transit gateway.
|
default TransitGateway.Builder |
options(Consumer<TransitGatewayOptions.Builder> options)
The transit gateway options.
|
TransitGateway.Builder |
options(TransitGatewayOptions options)
The transit gateway options.
|
TransitGateway.Builder |
ownerId(String ownerId)
The ID of the AWS account ID that owns the transit gateway.
|
TransitGateway.Builder |
state(String state)
The state of the transit gateway.
|
TransitGateway.Builder |
state(TransitGatewayState state)
The state of the transit gateway.
|
TransitGateway.Builder |
tags(Collection<Tag> tags)
The tags for the transit gateway.
|
TransitGateway.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags for the transit gateway.
|
TransitGateway.Builder |
tags(Tag... tags)
The tags for the transit gateway.
|
TransitGateway.Builder |
transitGatewayArn(String transitGatewayArn)
The Amazon Resource Name (ARN) of the transit gateway.
|
TransitGateway.Builder |
transitGatewayId(String transitGatewayId)
The ID of the transit gateway.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
TransitGateway.Builder transitGatewayId(String transitGatewayId)
The ID of the transit gateway.
transitGatewayId
- The ID of the transit gateway.TransitGateway.Builder transitGatewayArn(String transitGatewayArn)
The Amazon Resource Name (ARN) of the transit gateway.
transitGatewayArn
- The Amazon Resource Name (ARN) of the transit gateway.TransitGateway.Builder state(String state)
The state of the transit gateway.
state
- The state of the transit gateway.TransitGatewayState
,
TransitGatewayState
TransitGateway.Builder state(TransitGatewayState state)
The state of the transit gateway.
state
- The state of the transit gateway.TransitGatewayState
,
TransitGatewayState
TransitGateway.Builder ownerId(String ownerId)
The ID of the AWS account ID that owns the transit gateway.
ownerId
- The ID of the AWS account ID that owns the transit gateway.TransitGateway.Builder description(String description)
The description of the transit gateway.
description
- The description of the transit gateway.TransitGateway.Builder creationTime(Instant creationTime)
The creation time.
creationTime
- The creation time.TransitGateway.Builder options(TransitGatewayOptions options)
The transit gateway options.
options
- The transit gateway options.default TransitGateway.Builder options(Consumer<TransitGatewayOptions.Builder> options)
The transit gateway options.
This is a convenience that creates an instance of theTransitGatewayOptions.Builder
avoiding the need
to create one manually via TransitGatewayOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to options(TransitGatewayOptions)
.options
- a consumer that will call methods on TransitGatewayOptions.Builder
options(TransitGatewayOptions)
TransitGateway.Builder tags(Collection<Tag> tags)
The tags for the transit gateway.
tags
- The tags for the transit gateway.TransitGateway.Builder tags(Tag... tags)
The tags for the transit gateway.
tags
- The tags for the transit gateway.TransitGateway.Builder tags(Consumer<Tag.Builder>... tags)
The tags for the transit gateway.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
Copyright © 2020. All rights reserved.