Class ListUserPoolsResult
- java.lang.Object
-
- com.amazonaws.services.cognitoidp.model.ListUserPoolsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ListUserPoolsResult extends Object implements Serializable, Cloneable
Represents the response to list user pools.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListUserPoolsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListUserPoolsResultclone()booleanequals(Object obj)StringgetNextToken()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.inthashCode()voidsetNextToken(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.voidsetUserPools(Collection<UserPoolDescriptionType> userPools)The user pools from the response to list users.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListUserPoolsResultwithNextToken(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.ListUserPoolsResultwithUserPools(UserPoolDescriptionType... userPools)The user pools from the response to list users.ListUserPoolsResultwithUserPools(Collection<UserPoolDescriptionType> userPools)The user pools from the response to list users.
-
-
-
Method Detail
-
getUserPools
public List<UserPoolDescriptionType> getUserPools()
The user pools from the response to list users.
- Returns:
- The user pools from the response to list users.
-
setUserPools
public void setUserPools(Collection<UserPoolDescriptionType> userPools)
The user pools from the response to list users.
- Parameters:
userPools- The user pools from the response to list users.
-
withUserPools
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)orwithUserPools(java.util.Collection)if you want to override the existing values.- Parameters:
userPools- The user pools from the response to list users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withUserPools
public ListUserPoolsResult withUserPools(Collection<UserPoolDescriptionType> userPools)
The user pools from the response to list users.
- Parameters:
userPools- The user pools from the response to list users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
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.
- Parameters:
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.
-
getNextToken
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.
- Returns:
- 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.
-
withNextToken
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListUserPoolsResult clone()
-
-