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