public static interface PublicIpv4Pool.Builder extends SdkPojo, CopyableBuilder<PublicIpv4Pool.Builder,PublicIpv4Pool>
Modifier and Type | Method and Description |
---|---|
PublicIpv4Pool.Builder |
description(String description)
A description of the address pool.
|
PublicIpv4Pool.Builder |
networkBorderGroup(String networkBorderGroup)
The name of the location from which the address pool is advertised.
|
PublicIpv4Pool.Builder |
poolAddressRanges(Collection<PublicIpv4PoolRange> poolAddressRanges)
The address ranges.
|
PublicIpv4Pool.Builder |
poolAddressRanges(Consumer<PublicIpv4PoolRange.Builder>... poolAddressRanges)
The address ranges.
|
PublicIpv4Pool.Builder |
poolAddressRanges(PublicIpv4PoolRange... poolAddressRanges)
The address ranges.
|
PublicIpv4Pool.Builder |
poolId(String poolId)
The ID of the address pool.
|
PublicIpv4Pool.Builder |
tags(Collection<Tag> tags)
Any tags for the address pool.
|
PublicIpv4Pool.Builder |
tags(Consumer<Tag.Builder>... tags)
Any tags for the address pool.
|
PublicIpv4Pool.Builder |
tags(Tag... tags)
Any tags for the address pool.
|
PublicIpv4Pool.Builder |
totalAddressCount(Integer totalAddressCount)
The total number of addresses.
|
PublicIpv4Pool.Builder |
totalAvailableAddressCount(Integer totalAvailableAddressCount)
The total number of available addresses.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
PublicIpv4Pool.Builder poolId(String poolId)
The ID of the address pool.
poolId
- The ID of the address pool.PublicIpv4Pool.Builder description(String description)
A description of the address pool.
description
- A description of the address pool.PublicIpv4Pool.Builder poolAddressRanges(Collection<PublicIpv4PoolRange> poolAddressRanges)
The address ranges.
poolAddressRanges
- The address ranges.PublicIpv4Pool.Builder poolAddressRanges(PublicIpv4PoolRange... poolAddressRanges)
The address ranges.
poolAddressRanges
- The address ranges.PublicIpv4Pool.Builder poolAddressRanges(Consumer<PublicIpv4PoolRange.Builder>... poolAddressRanges)
The address ranges.
This is a convenience method that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #poolAddressRanges(List)
.poolAddressRanges
- a consumer that will call methods on List.Builder
#poolAddressRanges(List)
PublicIpv4Pool.Builder totalAddressCount(Integer totalAddressCount)
The total number of addresses.
totalAddressCount
- The total number of addresses.PublicIpv4Pool.Builder totalAvailableAddressCount(Integer totalAvailableAddressCount)
The total number of available addresses.
totalAvailableAddressCount
- The total number of available addresses.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.
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.PublicIpv4Pool.Builder tags(Collection<Tag> tags)
Any tags for the address pool.
tags
- Any tags for the address pool.PublicIpv4Pool.Builder tags(Tag... tags)
Any tags for the address pool.
tags
- Any tags for the address pool.PublicIpv4Pool.Builder tags(Consumer<Tag.Builder>... tags)
Any tags for the address pool.
This is a convenience method that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
Copyright © 2022. All rights reserved.