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 |
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 IPv4 address pool.
|
PublicIpv4Pool.Builder |
totalAddressCount(Integer totalAddressCount)
The total number of addresses.
|
PublicIpv4Pool.Builder |
totalAvailableAddressCount(Integer totalAvailableAddressCount)
The total number of available addresses.
|
copy
applyMutation, build
PublicIpv4Pool.Builder poolId(String poolId)
The ID of the IPv4 address pool.
poolId
- The ID of the IPv4 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 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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.