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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocalGateway.BuilderlocalGatewayId(String localGatewayId)The ID of the local gateway.LocalGateway.BuilderoutpostArn(String outpostArn)The Amazon Resource Name (ARN) of the Outpost.LocalGateway.BuilderownerId(String ownerId)The ID of the Amazon Web Services account that owns the local gateway.LocalGateway.Builderstate(String state)The state of the local gateway.LocalGateway.Buildertags(Collection<Tag> tags)The tags assigned to the local gateway.LocalGateway.Buildertags(Consumer<Tag.Builder>... tags)The tags assigned to the local gateway.LocalGateway.Buildertags(Tag... tags)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
localGatewayId
LocalGateway.Builder localGatewayId(String 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
LocalGateway.Builder outpostArn(String 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
LocalGateway.Builder ownerId(String 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
LocalGateway.Builder state(String 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
LocalGateway.Builder tags(Collection<Tag> 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
LocalGateway.Builder tags(Tag... 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
LocalGateway.Builder tags(Consumer<Tag.Builder>... tags)
The tags assigned to the local 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)
-
-