@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListUserPoolsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the response to list user pools.
Constructor and Description |
---|
ListUserPoolsResult() |
Modifier and Type | Method and Description |
---|---|
ListUserPoolsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
An identifier that was returned from the previous call to this operation, which can be used to return the next
set of items in the list.
|
List<UserPoolDescriptionType> |
getUserPools()
The user pools from the response to list users.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next
set of items in the list.
|
void |
setUserPools(Collection<UserPoolDescriptionType> userPools)
The user pools from the response to list users.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListUserPoolsResult |
withNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next
set of items in the list.
|
ListUserPoolsResult |
withUserPools(Collection<UserPoolDescriptionType> userPools)
The user pools from the response to list users.
|
ListUserPoolsResult |
withUserPools(UserPoolDescriptionType... userPools)
The user pools from the response to list users.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<UserPoolDescriptionType> getUserPools()
The user pools from the response to list users.
public void setUserPools(Collection<UserPoolDescriptionType> userPools)
The user pools from the response to list users.
userPools
- The user pools from the response to list users.public ListUserPoolsResult withUserPools(UserPoolDescriptionType... userPools)
The user pools from the response to list users.
NOTE: This method appends the values to the existing list (if any). Use
setUserPools(java.util.Collection)
or withUserPools(java.util.Collection)
if you want to
override the existing values.
userPools
- The user pools from the response to list users.public ListUserPoolsResult withUserPools(Collection<UserPoolDescriptionType> userPools)
The user pools from the response to list users.
userPools
- The user pools from the response to list users.public void setNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
nextToken
- An identifier that was returned from the previous call to this operation, which can be used to return the
next set of items in the list.public String getNextToken()
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
public ListUserPoolsResult withNextToken(String nextToken)
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
nextToken
- An identifier that was returned from the previous call to this operation, which can be used to return the
next set of items in the list.public String toString()
toString
in class Object
Object.toString()
public ListUserPoolsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.