Class ListIdentityPoolsResult
- java.lang.Object
-
- com.amazonaws.services.cognitoidentity.model.ListIdentityPoolsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ListIdentityPoolsResult extends Object implements Serializable, Cloneable
The result of a successful ListIdentityPools action.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListIdentityPoolsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListIdentityPoolsResultclone()booleanequals(Object obj)List<IdentityPoolShortDescription>getIdentityPools()The identity pools returned by the ListIdentityPools action.StringgetNextToken()A pagination token.inthashCode()voidsetIdentityPools(Collection<IdentityPoolShortDescription> identityPools)The identity pools returned by the ListIdentityPools action.voidsetNextToken(String nextToken)A pagination token.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListIdentityPoolsResultwithIdentityPools(IdentityPoolShortDescription... identityPools)The identity pools returned by the ListIdentityPools action.ListIdentityPoolsResultwithIdentityPools(Collection<IdentityPoolShortDescription> identityPools)The identity pools returned by the ListIdentityPools action.ListIdentityPoolsResultwithNextToken(String nextToken)A pagination token.
-
-
-
Method Detail
-
getIdentityPools
public List<IdentityPoolShortDescription> getIdentityPools()
The identity pools returned by the ListIdentityPools action.- Returns:
- The identity pools returned by the ListIdentityPools action.
-
setIdentityPools
public void setIdentityPools(Collection<IdentityPoolShortDescription> identityPools)
The identity pools returned by the ListIdentityPools action.- Parameters:
identityPools- The identity pools returned by the ListIdentityPools action.
-
withIdentityPools
public ListIdentityPoolsResult withIdentityPools(IdentityPoolShortDescription... identityPools)
The identity pools returned by the ListIdentityPools action.NOTE: This method appends the values to the existing list (if any). Use
setIdentityPools(java.util.Collection)orwithIdentityPools(java.util.Collection)if you want to override the existing values.- Parameters:
identityPools- The identity pools returned by the ListIdentityPools action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withIdentityPools
public ListIdentityPoolsResult withIdentityPools(Collection<IdentityPoolShortDescription> identityPools)
The identity pools returned by the ListIdentityPools action.- Parameters:
identityPools- The identity pools returned by the ListIdentityPools action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
A pagination token.- Parameters:
nextToken- A pagination token.
-
getNextToken
public String getNextToken()
A pagination token.- Returns:
- A pagination token.
-
withNextToken
public ListIdentityPoolsResult withNextToken(String nextToken)
A pagination token.- Parameters:
nextToken- A pagination token.- 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 ListIdentityPoolsResult clone()
-
-