@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublicIpv4Pool extends Object implements Serializable, Cloneable
Describes an IPv4 address pool.
Constructor and Description |
---|
PublicIpv4Pool() |
Modifier and Type | Method and Description |
---|---|
PublicIpv4Pool |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description of the address pool.
|
String |
getNetworkBorderGroup()
The name of the location from which the address pool is advertised.
|
List<PublicIpv4PoolRange> |
getPoolAddressRanges()
The address ranges.
|
String |
getPoolId()
The ID of the address pool.
|
List<Tag> |
getTags()
Any tags for the address pool.
|
Integer |
getTotalAddressCount()
The total number of addresses.
|
Integer |
getTotalAvailableAddressCount()
The total number of available addresses.
|
int |
hashCode() |
void |
setDescription(String description)
A description of the address pool.
|
void |
setNetworkBorderGroup(String networkBorderGroup)
The name of the location from which the address pool is advertised.
|
void |
setPoolAddressRanges(Collection<PublicIpv4PoolRange> poolAddressRanges)
The address ranges.
|
void |
setPoolId(String poolId)
The ID of the address pool.
|
void |
setTags(Collection<Tag> tags)
Any tags for the address pool.
|
void |
setTotalAddressCount(Integer totalAddressCount)
The total number of addresses.
|
void |
setTotalAvailableAddressCount(Integer totalAvailableAddressCount)
The total number of available addresses.
|
String |
toString()
Returns a string representation of this object.
|
PublicIpv4Pool |
withDescription(String description)
A description of the address pool.
|
PublicIpv4Pool |
withNetworkBorderGroup(String networkBorderGroup)
The name of the location from which the address pool is advertised.
|
PublicIpv4Pool |
withPoolAddressRanges(Collection<PublicIpv4PoolRange> poolAddressRanges)
The address ranges.
|
PublicIpv4Pool |
withPoolAddressRanges(PublicIpv4PoolRange... poolAddressRanges)
The address ranges.
|
PublicIpv4Pool |
withPoolId(String poolId)
The ID of the address pool.
|
PublicIpv4Pool |
withTags(Collection<Tag> tags)
Any tags for the address pool.
|
PublicIpv4Pool |
withTags(Tag... tags)
Any tags for the address pool.
|
PublicIpv4Pool |
withTotalAddressCount(Integer totalAddressCount)
The total number of addresses.
|
PublicIpv4Pool |
withTotalAvailableAddressCount(Integer totalAvailableAddressCount)
The total number of available addresses.
|
public void setPoolId(String poolId)
The ID of the address pool.
poolId
- The ID of the address pool.public String getPoolId()
The ID of the address pool.
public PublicIpv4Pool withPoolId(String poolId)
The ID of the address pool.
poolId
- The ID of the address pool.public void setDescription(String description)
A description of the address pool.
description
- A description of the address pool.public String getDescription()
A description of the address pool.
public PublicIpv4Pool withDescription(String description)
A description of the address pool.
description
- A description of the address pool.public List<PublicIpv4PoolRange> getPoolAddressRanges()
The address ranges.
public void setPoolAddressRanges(Collection<PublicIpv4PoolRange> poolAddressRanges)
The address ranges.
poolAddressRanges
- The address ranges.public PublicIpv4Pool withPoolAddressRanges(PublicIpv4PoolRange... poolAddressRanges)
The address ranges.
NOTE: This method appends the values to the existing list (if any). Use
setPoolAddressRanges(java.util.Collection)
or withPoolAddressRanges(java.util.Collection)
if
you want to override the existing values.
poolAddressRanges
- The address ranges.public PublicIpv4Pool withPoolAddressRanges(Collection<PublicIpv4PoolRange> poolAddressRanges)
The address ranges.
poolAddressRanges
- The address ranges.public void setTotalAddressCount(Integer totalAddressCount)
The total number of addresses.
totalAddressCount
- The total number of addresses.public Integer getTotalAddressCount()
The total number of addresses.
public PublicIpv4Pool withTotalAddressCount(Integer totalAddressCount)
The total number of addresses.
totalAddressCount
- The total number of addresses.public void setTotalAvailableAddressCount(Integer totalAvailableAddressCount)
The total number of available addresses.
totalAvailableAddressCount
- The total number of available addresses.public Integer getTotalAvailableAddressCount()
The total number of available addresses.
public PublicIpv4Pool withTotalAvailableAddressCount(Integer totalAvailableAddressCount)
The total number of available addresses.
totalAvailableAddressCount
- The total number of available addresses.public void setNetworkBorderGroup(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.public String getNetworkBorderGroup()
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.
public PublicIpv4Pool withNetworkBorderGroup(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.public List<Tag> getTags()
Any tags for the address pool.
public void setTags(Collection<Tag> tags)
Any tags for the address pool.
tags
- Any tags for the address pool.public PublicIpv4Pool withTags(Tag... tags)
Any tags for the address pool.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Any tags for the address pool.public PublicIpv4Pool withTags(Collection<Tag> tags)
Any tags for the address pool.
tags
- Any tags for the address pool.public String toString()
toString
in class Object
Object.toString()
public PublicIpv4Pool clone()