Interface PublicIpv4Pool.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PublicIpv4Pool.Builder,,PublicIpv4Pool> SdkBuilder<PublicIpv4Pool.Builder,,PublicIpv4Pool> SdkPojo
- Enclosing class:
PublicIpv4Pool
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A description of the address pool.networkBorderGroup(String networkBorderGroup) The name of the location from which the address pool is advertised.poolAddressRanges(Collection<PublicIpv4PoolRange> poolAddressRanges) The address ranges.poolAddressRanges(Consumer<PublicIpv4PoolRange.Builder>... poolAddressRanges) The address ranges.poolAddressRanges(PublicIpv4PoolRange... poolAddressRanges) The address ranges.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.totalAddressCount(Integer totalAddressCount) The total number of addresses.totalAvailableAddressCount(Integer totalAvailableAddressCount) The total number of available addresses.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
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
The address ranges.
- Parameters:
poolAddressRanges- The address ranges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 topoolAddressRanges(List<PublicIpv4PoolRange>).- 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:
-
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
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
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
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:
-