Interface CoipPool.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<CoipPool.Builder,CoipPool>
,SdkBuilder<CoipPool.Builder,CoipPool>
,SdkPojo
- Enclosing class:
- CoipPool
public static interface CoipPool.Builder extends SdkPojo, CopyableBuilder<CoipPool.Builder,CoipPool>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CoipPool.Builder
localGatewayRouteTableId(String localGatewayRouteTableId)
The ID of the local gateway route table.CoipPool.Builder
poolArn(String poolArn)
The ARN of the address pool.CoipPool.Builder
poolCidrs(String... poolCidrs)
The address ranges of the address pool.CoipPool.Builder
poolCidrs(Collection<String> poolCidrs)
The address ranges of the address pool.CoipPool.Builder
poolId(String poolId)
The ID of the address pool.CoipPool.Builder
tags(Collection<Tag> tags)
The tags.CoipPool.Builder
tags(Consumer<Tag.Builder>... tags)
The tags.CoipPool.Builder
tags(Tag... tags)
The tags.-
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 Detail
-
poolId
CoipPool.Builder poolId(String poolId)
The ID of the address pool.
- Parameters:
poolId
- The ID of the address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolCidrs
CoipPool.Builder poolCidrs(Collection<String> poolCidrs)
The address ranges of the address pool.
- Parameters:
poolCidrs
- The address ranges of the address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolCidrs
CoipPool.Builder poolCidrs(String... poolCidrs)
The address ranges of the address pool.
- Parameters:
poolCidrs
- The address ranges of the address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localGatewayRouteTableId
CoipPool.Builder localGatewayRouteTableId(String localGatewayRouteTableId)
The ID of the local gateway route table.
- Parameters:
localGatewayRouteTableId
- The ID of the local gateway route table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CoipPool.Builder tags(Collection<Tag> tags)
The tags.
- Parameters:
tags
- The tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CoipPool.Builder tags(Tag... tags)
The tags.
- Parameters:
tags
- The tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CoipPool.Builder tags(Consumer<Tag.Builder>... tags)
The tags.
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 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
)
-
poolArn
CoipPool.Builder poolArn(String poolArn)
The ARN of the address pool.
- Parameters:
poolArn
- The ARN of the address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-