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 ListIdentitiesResult
clone()
boolean
equals(Object obj)
List<IdentityDescription>
getIdentities()
An object containing a set of identities and associated mappings.String
getIdentityPoolId()
An identity pool ID in the format REGION:GUID.String
getNextToken()
A pagination token.int
hashCode()
void
setIdentities(Collection<IdentityDescription> identities)
An object containing a set of identities and associated mappings.void
setIdentityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.void
setNextToken(String nextToken)
A pagination token.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListIdentitiesResult
withIdentities(IdentityDescription... identities)
An object containing a set of identities and associated mappings.ListIdentitiesResult
withIdentities(Collection<IdentityDescription> identities)
An object containing a set of identities and associated mappings.ListIdentitiesResult
withIdentityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.ListIdentitiesResult
withNextToken(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListIdentitiesResult clone()
-
-