@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePoolsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribePoolsResult() |
Modifier and Type | Method and Description |
---|---|
DescribePoolsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token to be used for the next set of paginated results.
|
List<PoolInformation> |
getPools()
An array of PoolInformation objects that contain the details for the requested pools.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token to be used for the next set of paginated results.
|
void |
setPools(Collection<PoolInformation> pools)
An array of PoolInformation objects that contain the details for the requested pools.
|
String |
toString()
Returns a string representation of this object.
|
DescribePoolsResult |
withNextToken(String nextToken)
The token to be used for the next set of paginated results.
|
DescribePoolsResult |
withPools(Collection<PoolInformation> pools)
An array of PoolInformation objects that contain the details for the requested pools.
|
DescribePoolsResult |
withPools(PoolInformation... pools)
An array of PoolInformation objects that contain the details for the requested pools.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PoolInformation> getPools()
An array of PoolInformation objects that contain the details for the requested pools.
public void setPools(Collection<PoolInformation> pools)
An array of PoolInformation objects that contain the details for the requested pools.
pools
- An array of PoolInformation objects that contain the details for the requested pools.public DescribePoolsResult withPools(PoolInformation... pools)
An array of PoolInformation objects that contain the details for the requested pools.
NOTE: This method appends the values to the existing list (if any). Use
setPools(java.util.Collection)
or withPools(java.util.Collection)
if you want to override the
existing values.
pools
- An array of PoolInformation objects that contain the details for the requested pools.public DescribePoolsResult withPools(Collection<PoolInformation> pools)
An array of PoolInformation objects that contain the details for the requested pools.
pools
- An array of PoolInformation objects that contain the details for the requested pools.public void setNextToken(String nextToken)
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
nextToken
- The token to be used for the next set of paginated results. If this field is empty then there are no more
results.public String getNextToken()
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
public DescribePoolsResult withNextToken(String nextToken)
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
nextToken
- The token to be used for the next set of paginated results. If this field is empty then there are no more
results.public String toString()
toString
in class Object
Object.toString()
public DescribePoolsResult clone()