Interface Ipv6Pool.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Ipv6Pool.Builder,,Ipv6Pool> SdkBuilder<Ipv6Pool.Builder,,Ipv6Pool> SdkPojo
- Enclosing class:
Ipv6Pool
@Mutable
@NotThreadSafe
public static interface Ipv6Pool.Builder
extends SdkPojo, CopyableBuilder<Ipv6Pool.Builder,Ipv6Pool>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The description for the address pool.poolCidrBlocks(Collection<PoolCidrBlock> poolCidrBlocks) The CIDR blocks for the address pool.poolCidrBlocks(Consumer<PoolCidrBlock.Builder>... poolCidrBlocks) The CIDR blocks for the address pool.poolCidrBlocks(PoolCidrBlock... poolCidrBlocks) The CIDR blocks for the address pool.The ID of the address pool.tags(Collection<Tag> tags) Any tags for the address pool.tags(Consumer<Tag.Builder>... tags) Any tags for the address pool.Any tags for the address pool.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.
-
description
The description for the address pool.
- Parameters:
description- The description for the address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolCidrBlocks
The CIDR blocks for the address pool.
- Parameters:
poolCidrBlocks- The CIDR blocks for the address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolCidrBlocks
The CIDR blocks for the address pool.
- Parameters:
poolCidrBlocks- The CIDR blocks for the address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolCidrBlocks
The CIDR blocks for the address pool.
This is a convenience method that creates an instance of thePoolCidrBlock.Builderavoiding the need to create one manually viaPoolCidrBlock.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topoolCidrBlocks(List<PoolCidrBlock>).- Parameters:
poolCidrBlocks- a consumer that will call methods onPoolCidrBlock.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Any tags for the address pool.
- Parameters:
tags- Any tags for the address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags for the address pool.
- Parameters:
tags- Any tags for the address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Any tags for the address pool.
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 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:
-