@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublicIpv4PoolRange extends Object implements Serializable, Cloneable
Describes an address range of an IPv4 address pool.
Constructor and Description |
---|
PublicIpv4PoolRange() |
Modifier and Type | Method and Description |
---|---|
PublicIpv4PoolRange |
clone() |
boolean |
equals(Object obj) |
Integer |
getAddressCount()
The number of addresses in the range.
|
Integer |
getAvailableAddressCount()
The number of available addresses in the range.
|
String |
getFirstAddress()
The first IP address in the range.
|
String |
getLastAddress()
The last IP address in the range.
|
int |
hashCode() |
void |
setAddressCount(Integer addressCount)
The number of addresses in the range.
|
void |
setAvailableAddressCount(Integer availableAddressCount)
The number of available addresses in the range.
|
void |
setFirstAddress(String firstAddress)
The first IP address in the range.
|
void |
setLastAddress(String lastAddress)
The last IP address in the range.
|
String |
toString()
Returns a string representation of this object.
|
PublicIpv4PoolRange |
withAddressCount(Integer addressCount)
The number of addresses in the range.
|
PublicIpv4PoolRange |
withAvailableAddressCount(Integer availableAddressCount)
The number of available addresses in the range.
|
PublicIpv4PoolRange |
withFirstAddress(String firstAddress)
The first IP address in the range.
|
PublicIpv4PoolRange |
withLastAddress(String lastAddress)
The last IP address in the range.
|
public void setFirstAddress(String firstAddress)
The first IP address in the range.
firstAddress
- The first IP address in the range.public String getFirstAddress()
The first IP address in the range.
public PublicIpv4PoolRange withFirstAddress(String firstAddress)
The first IP address in the range.
firstAddress
- The first IP address in the range.public void setLastAddress(String lastAddress)
The last IP address in the range.
lastAddress
- The last IP address in the range.public String getLastAddress()
The last IP address in the range.
public PublicIpv4PoolRange withLastAddress(String lastAddress)
The last IP address in the range.
lastAddress
- The last IP address in the range.public void setAddressCount(Integer addressCount)
The number of addresses in the range.
addressCount
- The number of addresses in the range.public Integer getAddressCount()
The number of addresses in the range.
public PublicIpv4PoolRange withAddressCount(Integer addressCount)
The number of addresses in the range.
addressCount
- The number of addresses in the range.public void setAvailableAddressCount(Integer availableAddressCount)
The number of available addresses in the range.
availableAddressCount
- The number of available addresses in the range.public Integer getAvailableAddressCount()
The number of available addresses in the range.
public PublicIpv4PoolRange withAvailableAddressCount(Integer availableAddressCount)
The number of available addresses in the range.
availableAddressCount
- The number of available addresses in the range.public String toString()
toString
in class Object
Object.toString()
public PublicIpv4PoolRange clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.