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 ListIdentityPoolsResult
clone()
boolean
equals(Object obj)
List<IdentityPoolShortDescription>
getIdentityPools()
The identity pools returned by the ListIdentityPools action.String
getNextToken()
A pagination token.int
hashCode()
void
setIdentityPools(Collection<IdentityPoolShortDescription> identityPools)
The identity pools returned by the ListIdentityPools action.void
setNextToken(String nextToken)
A pagination token.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListIdentityPoolsResult
withIdentityPools(IdentityPoolShortDescription... identityPools)
The identity pools returned by the ListIdentityPools action.ListIdentityPoolsResult
withIdentityPools(Collection<IdentityPoolShortDescription> identityPools)
The identity pools returned by the ListIdentityPools action.ListIdentityPoolsResult
withNextToken(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListIdentityPoolsResult clone()
-
-