@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePublicIpv4PoolsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribePublicIpv4PoolsResult() |
Modifier and Type | Method and Description |
---|---|
DescribePublicIpv4PoolsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to use to retrieve the next page of results.
|
List<PublicIpv4Pool> |
getPublicIpv4Pools()
Information about the address pools.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
void |
setPublicIpv4Pools(Collection<PublicIpv4Pool> publicIpv4Pools)
Information about the address pools.
|
String |
toString()
Returns a string representation of this object.
|
DescribePublicIpv4PoolsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
DescribePublicIpv4PoolsResult |
withPublicIpv4Pools(Collection<PublicIpv4Pool> publicIpv4Pools)
Information about the address pools.
|
DescribePublicIpv4PoolsResult |
withPublicIpv4Pools(PublicIpv4Pool... publicIpv4Pools)
Information about the address pools.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PublicIpv4Pool> getPublicIpv4Pools()
Information about the address pools.
public void setPublicIpv4Pools(Collection<PublicIpv4Pool> publicIpv4Pools)
Information about the address pools.
publicIpv4Pools
- Information about the address pools.public DescribePublicIpv4PoolsResult withPublicIpv4Pools(PublicIpv4Pool... publicIpv4Pools)
Information about the address pools.
NOTE: This method appends the values to the existing list (if any). Use
setPublicIpv4Pools(java.util.Collection)
or withPublicIpv4Pools(java.util.Collection)
if you
want to override the existing values.
publicIpv4Pools
- Information about the address pools.public DescribePublicIpv4PoolsResult withPublicIpv4Pools(Collection<PublicIpv4Pool> publicIpv4Pools)
Information about the address pools.
publicIpv4Pools
- Information about the address pools.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public DescribePublicIpv4PoolsResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String toString()
toString
in class Object
Object.toString()
public DescribePublicIpv4PoolsResult clone()