@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublicIpv4Pool extends Object implements Serializable, Cloneable
Describes an 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.
|
List<PublicIpv4PoolRange> |
getPoolAddressRanges()
The address ranges.
|
String |
getPoolId()
The ID of the IPv4 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 |
setPoolAddressRanges(Collection<PublicIpv4PoolRange> poolAddressRanges)
The address ranges.
|
void |
setPoolId(String poolId)
The ID of the IPv4 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 |
withPoolAddressRanges(Collection<PublicIpv4PoolRange> poolAddressRanges)
The address ranges.
|
PublicIpv4Pool |
withPoolAddressRanges(PublicIpv4PoolRange... poolAddressRanges)
The address ranges.
|
PublicIpv4Pool |
withPoolId(String poolId)
The ID of the IPv4 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 IPv4 address pool.
poolId
- The ID of the IPv4 address pool.public String getPoolId()
The ID of the IPv4 address pool.
public PublicIpv4Pool withPoolId(String poolId)
The ID of the IPv4 address pool.
poolId
- The ID of the IPv4 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 String toString()
toString
in class Object
Object.toString()
public PublicIpv4Pool clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.