public class ListUserPoolsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the response to list user pools.
Modifier and Type | Field and Description |
---|---|
private java.lang.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.
|
private java.util.List<UserPoolDescriptionType> |
userPools
The user pools from the response to list users.
|
Constructor and Description |
---|
ListUserPoolsResult() |
Modifier and Type | Method and Description |
---|---|
ListUserPoolsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.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.
|
java.util.List<UserPoolDescriptionType> |
getUserPools()
The user pools from the response to list users.
|
int |
hashCode() |
void |
setNextToken(java.lang.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(java.util.Collection<UserPoolDescriptionType> userPools)
The user pools from the response to list users.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListUserPoolsResult |
withNextToken(java.lang.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(java.util.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.
|
private java.util.List<UserPoolDescriptionType> userPools
The user pools from the response to list users.
private java.lang.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.
public java.util.List<UserPoolDescriptionType> getUserPools()
The user pools from the response to list users.
public void setUserPools(java.util.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(java.util.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(java.lang.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 java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListUserPoolsResult clone()
clone
in class java.lang.Object