public class ListUserPoolsResult
extends java.lang.Object
implements java.io.Serializable
Represents the response to list user pools.
| Constructor and Description |
|---|
ListUserPoolsResult() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public java.util.List<UserPoolDescriptionType> getUserPools()
The user pools from the response to list users.
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.
Returns a reference to this object so that method calls can be chained together.
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.
Returns a reference to this object so that method calls can be chained together.
userPools - The user pools from the response to list users.
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.
Constraints:
Length: 1 -
Pattern: [\S]+
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 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.
Constraints:
Length: 1 -
Pattern: [\S]+
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 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 -
Pattern: [\S]+
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.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object