public class ListUserPoolsResult extends Object implements Serializable
Represents the response to list user pools.
| Constructor and Description |
|---|
ListUserPoolsResult() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public List<UserPoolDescriptionType> getUserPools()
The user pools from the response to list users.
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.
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(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 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(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(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 String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.