@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeCoipPoolsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeCoipPoolsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeCoipPoolsResult |
clone() |
boolean |
equals(Object obj) |
List<CoipPool> |
getCoipPools()
Information about the address pools.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setCoipPools(Collection<CoipPool> coipPools)
Information about the address 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.
|
DescribeCoipPoolsResult |
withCoipPools(CoipPool... coipPools)
Information about the address pools.
|
DescribeCoipPoolsResult |
withCoipPools(Collection<CoipPool> coipPools)
Information about the address pools.
|
DescribeCoipPoolsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<CoipPool> getCoipPools()
Information about the address pools.
public void setCoipPools(Collection<CoipPool> coipPools)
Information about the address pools.
coipPools
- Information about the address pools.public DescribeCoipPoolsResult withCoipPools(CoipPool... coipPools)
Information about the address pools.
NOTE: This method appends the values to the existing list (if any). Use
setCoipPools(java.util.Collection)
or withCoipPools(java.util.Collection)
if you want to
override the existing values.
coipPools
- Information about the address pools.public DescribeCoipPoolsResult withCoipPools(Collection<CoipPool> coipPools)
Information about the address pools.
coipPools
- 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 DescribeCoipPoolsResult 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 DescribeCoipPoolsResult clone()