@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeIpamPoolsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeIpamPoolsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeIpamPoolsResult |
clone() |
boolean |
equals(Object obj) |
List<IpamPool> |
getIpamPools()
Information about the IPAM pools.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setIpamPools(Collection<IpamPool> ipamPools)
Information about the IPAM pools.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeIpamPoolsResult |
withIpamPools(Collection<IpamPool> ipamPools)
Information about the IPAM pools.
|
DescribeIpamPoolsResult |
withIpamPools(IpamPool... ipamPools)
Information about the IPAM pools.
|
DescribeIpamPoolsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 DescribeIpamPoolsResult 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 List<IpamPool> getIpamPools()
Information about the IPAM pools.
public void setIpamPools(Collection<IpamPool> ipamPools)
Information about the IPAM pools.
ipamPools
- Information about the IPAM pools.public DescribeIpamPoolsResult withIpamPools(IpamPool... ipamPools)
Information about the IPAM pools.
NOTE: This method appends the values to the existing list (if any). Use
setIpamPools(java.util.Collection)
or withIpamPools(java.util.Collection)
if you want to
override the existing values.
ipamPools
- Information about the IPAM pools.public DescribeIpamPoolsResult withIpamPools(Collection<IpamPool> ipamPools)
Information about the IPAM pools.
ipamPools
- Information about the IPAM pools.public String toString()
toString
in class Object
Object.toString()
public DescribeIpamPoolsResult clone()