Class ListIdentitiesResult
- java.lang.Object
-
- com.amazonaws.services.cognitoidentity.model.ListIdentitiesResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ListIdentitiesResult extends Object implements Serializable, Cloneable
The response to a ListIdentities request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListIdentitiesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListIdentitiesResultclone()booleanequals(Object obj)List<IdentityDescription>getIdentities()An object containing a set of identities and associated mappings.StringgetIdentityPoolId()An identity pool ID in the format REGION:GUID.StringgetNextToken()A pagination token.inthashCode()voidsetIdentities(Collection<IdentityDescription> identities)An object containing a set of identities and associated mappings.voidsetIdentityPoolId(String identityPoolId)An identity pool ID in the format REGION:GUID.voidsetNextToken(String nextToken)A pagination token.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListIdentitiesResultwithIdentities(IdentityDescription... identities)An object containing a set of identities and associated mappings.ListIdentitiesResultwithIdentities(Collection<IdentityDescription> identities)An object containing a set of identities and associated mappings.ListIdentitiesResultwithIdentityPoolId(String identityPoolId)An identity pool ID in the format REGION:GUID.ListIdentitiesResultwithNextToken(String nextToken)A pagination token.
-
-
-
Method Detail
-
setIdentityPoolId
public void setIdentityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.- Parameters:
identityPoolId- An identity pool ID in the format REGION:GUID.
-
getIdentityPoolId
public String getIdentityPoolId()
An identity pool ID in the format REGION:GUID.- Returns:
- An identity pool ID in the format REGION:GUID.
-
withIdentityPoolId
public ListIdentitiesResult withIdentityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.- Parameters:
identityPoolId- An identity pool ID in the format REGION:GUID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getIdentities
public List<IdentityDescription> getIdentities()
An object containing a set of identities and associated mappings.- Returns:
- An object containing a set of identities and associated mappings.
-
setIdentities
public void setIdentities(Collection<IdentityDescription> identities)
An object containing a set of identities and associated mappings.- Parameters:
identities- An object containing a set of identities and associated mappings.
-
withIdentities
public ListIdentitiesResult withIdentities(IdentityDescription... identities)
An object containing a set of identities and associated mappings.NOTE: This method appends the values to the existing list (if any). Use
setIdentities(java.util.Collection)orwithIdentities(java.util.Collection)if you want to override the existing values.- Parameters:
identities- An object containing a set of identities and associated mappings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withIdentities
public ListIdentitiesResult withIdentities(Collection<IdentityDescription> identities)
An object containing a set of identities and associated mappings.- Parameters:
identities- An object containing a set of identities and associated mappings.- 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 ListIdentitiesResult 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 ListIdentitiesResult clone()
-
-