Interface LocalGateway.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LocalGateway.Builder,
,LocalGateway> SdkBuilder<LocalGateway.Builder,
,LocalGateway> SdkPojo
- Enclosing class:
LocalGateway
public static interface LocalGateway.Builder
extends SdkPojo, CopyableBuilder<LocalGateway.Builder,LocalGateway>
-
Method Summary
Modifier and TypeMethodDescriptionlocalGatewayId
(String localGatewayId) The ID of the local gateway.outpostArn
(String outpostArn) The Amazon Resource Name (ARN) of the Outpost.The ID of the Amazon Web Services account that owns the local gateway.The state of the local gateway.tags
(Collection<Tag> tags) The tags assigned to the local gateway.tags
(Consumer<Tag.Builder>... tags) The tags assigned to the local gateway.The tags assigned to the local 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
-
localGatewayId
The ID of the local gateway.
- Parameters:
localGatewayId
- The ID of the local gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outpostArn
The Amazon Resource Name (ARN) of the Outpost.
- Parameters:
outpostArn
- The Amazon Resource Name (ARN) of the Outpost.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerId
The ID of the Amazon Web Services account that owns the local gateway.
- Parameters:
ownerId
- The ID of the Amazon Web Services account that owns the local gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the local gateway.
- Parameters:
state
- The state of the local gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the local gateway.
- Parameters:
tags
- The tags assigned to the local gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the local gateway.
- Parameters:
tags
- The tags assigned to the local gateway.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags assigned to the local 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:
-