Interface PublicIpv4Pool.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PublicIpv4Pool.Builder,PublicIpv4Pool>,SdkBuilder<PublicIpv4Pool.Builder,PublicIpv4Pool>,SdkPojo
- Enclosing class:
- PublicIpv4Pool
public static interface PublicIpv4Pool.Builder extends SdkPojo, CopyableBuilder<PublicIpv4Pool.Builder,PublicIpv4Pool>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PublicIpv4Pool.Builderdescription(String description)A description of the address pool.PublicIpv4Pool.BuildernetworkBorderGroup(String networkBorderGroup)The name of the location from which the address pool is advertised.PublicIpv4Pool.BuilderpoolAddressRanges(Collection<PublicIpv4PoolRange> poolAddressRanges)The address ranges.PublicIpv4Pool.BuilderpoolAddressRanges(Consumer<PublicIpv4PoolRange.Builder>... poolAddressRanges)The address ranges.PublicIpv4Pool.BuilderpoolAddressRanges(PublicIpv4PoolRange... poolAddressRanges)The address ranges.PublicIpv4Pool.BuilderpoolId(String poolId)The ID of the address pool.PublicIpv4Pool.Buildertags(Collection<Tag> tags)Any tags for the address pool.PublicIpv4Pool.Buildertags(Consumer<Tag.Builder>... tags)Any tags for the address pool.PublicIpv4Pool.Buildertags(Tag... tags)Any tags for the address pool.PublicIpv4Pool.BuildertotalAddressCount(Integer totalAddressCount)The total number of addresses.PublicIpv4Pool.BuildertotalAvailableAddressCount(Integer totalAvailableAddressCount)The total number of available addresses.-
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
PublicIpv4Pool.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.
-
description
PublicIpv4Pool.Builder description(String description)
A description of the address pool.
- Parameters:
description- A description of the address pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolAddressRanges
PublicIpv4Pool.Builder poolAddressRanges(Collection<PublicIpv4PoolRange> poolAddressRanges)
The address ranges.
- Parameters:
poolAddressRanges- The address ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolAddressRanges
PublicIpv4Pool.Builder poolAddressRanges(PublicIpv4PoolRange... poolAddressRanges)
The address ranges.
- Parameters:
poolAddressRanges- The address ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
poolAddressRanges
PublicIpv4Pool.Builder poolAddressRanges(Consumer<PublicIpv4PoolRange.Builder>... poolAddressRanges)
The address ranges.
This is a convenience method that creates an instance of thePublicIpv4PoolRange.Builderavoiding the need to create one manually viaPublicIpv4PoolRange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#poolAddressRanges(List.) - Parameters:
poolAddressRanges- a consumer that will call methods onPublicIpv4PoolRange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#poolAddressRanges(java.util.Collection)
-
totalAddressCount
PublicIpv4Pool.Builder totalAddressCount(Integer totalAddressCount)
The total number of addresses.
- Parameters:
totalAddressCount- The total number of addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalAvailableAddressCount
PublicIpv4Pool.Builder totalAvailableAddressCount(Integer totalAvailableAddressCount)
The total number of available addresses.
- Parameters:
totalAvailableAddressCount- The total number of available addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkBorderGroup
PublicIpv4Pool.Builder networkBorderGroup(String networkBorderGroup)
The name of the location from which the address pool is advertised. A network border group is a unique set of Availability Zones or Local Zones from where Amazon Web Services advertises public IP addresses.
- Parameters:
networkBorderGroup- The name of the location from which the address pool is advertised. A network border group is a unique set of Availability Zones or Local Zones from where Amazon Web Services advertises public IP addresses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
PublicIpv4Pool.Builder tags(Collection<Tag> 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
PublicIpv4Pool.Builder tags(Tag... 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
PublicIpv4Pool.Builder tags(Consumer<Tag.Builder>... 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 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)
-
-