Class ListIdentityPoolUsageResult
- java.lang.Object
-
- com.amazonaws.services.cognitosync.model.ListIdentityPoolUsageResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListIdentityPoolUsageResult extends Object implements Serializable, Cloneable
Returned for a successful ListIdentityPoolUsage request.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListIdentityPoolUsageResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListIdentityPoolUsageResult
clone()
boolean
equals(Object obj)
Integer
getCount()
Total number of identities for the identity pool.List<IdentityPoolUsage>
getIdentityPoolUsages()
Usage information for the identity pools.Integer
getMaxResults()
The maximum number of results to be returned.String
getNextToken()
A pagination token for obtaining the next page of results.int
hashCode()
void
setCount(Integer count)
Total number of identities for the identity pool.void
setIdentityPoolUsages(Collection<IdentityPoolUsage> identityPoolUsages)
Usage information for the identity pools.void
setMaxResults(Integer maxResults)
The maximum number of results to be returned.void
setNextToken(String nextToken)
A pagination token for obtaining the next page of results.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListIdentityPoolUsageResult
withCount(Integer count)
Total number of identities for the identity pool.ListIdentityPoolUsageResult
withIdentityPoolUsages(IdentityPoolUsage... identityPoolUsages)
Usage information for the identity pools.ListIdentityPoolUsageResult
withIdentityPoolUsages(Collection<IdentityPoolUsage> identityPoolUsages)
Usage information for the identity pools.ListIdentityPoolUsageResult
withMaxResults(Integer maxResults)
The maximum number of results to be returned.ListIdentityPoolUsageResult
withNextToken(String nextToken)
A pagination token for obtaining the next page of results.
-
-
-
Method Detail
-
getIdentityPoolUsages
public List<IdentityPoolUsage> getIdentityPoolUsages()
Usage information for the identity pools.- Returns:
- Usage information for the identity pools.
-
setIdentityPoolUsages
public void setIdentityPoolUsages(Collection<IdentityPoolUsage> identityPoolUsages)
Usage information for the identity pools.- Parameters:
identityPoolUsages
- Usage information for the identity pools.
-
withIdentityPoolUsages
public ListIdentityPoolUsageResult withIdentityPoolUsages(IdentityPoolUsage... identityPoolUsages)
Usage information for the identity pools.NOTE: This method appends the values to the existing list (if any). Use
setIdentityPoolUsages(java.util.Collection)
orwithIdentityPoolUsages(java.util.Collection)
if you want to override the existing values.- Parameters:
identityPoolUsages
- Usage information for the identity pools.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withIdentityPoolUsages
public ListIdentityPoolUsageResult withIdentityPoolUsages(Collection<IdentityPoolUsage> identityPoolUsages)
Usage information for the identity pools.- Parameters:
identityPoolUsages
- Usage information for the identity pools.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
public void setMaxResults(Integer maxResults)
The maximum number of results to be returned.- Parameters:
maxResults
- The maximum number of results to be returned.
-
getMaxResults
public Integer getMaxResults()
The maximum number of results to be returned.- Returns:
- The maximum number of results to be returned.
-
withMaxResults
public ListIdentityPoolUsageResult withMaxResults(Integer maxResults)
The maximum number of results to be returned.- Parameters:
maxResults
- The maximum number of results to be returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCount
public void setCount(Integer count)
Total number of identities for the identity pool.- Parameters:
count
- Total number of identities for the identity pool.
-
getCount
public Integer getCount()
Total number of identities for the identity pool.- Returns:
- Total number of identities for the identity pool.
-
withCount
public ListIdentityPoolUsageResult withCount(Integer count)
Total number of identities for the identity pool.- Parameters:
count
- Total number of identities for the identity pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
A pagination token for obtaining the next page of results.- Parameters:
nextToken
- A pagination token for obtaining the next page of results.
-
getNextToken
public String getNextToken()
A pagination token for obtaining the next page of results.- Returns:
- A pagination token for obtaining the next page of results.
-
withNextToken
public ListIdentityPoolUsageResult withNextToken(String nextToken)
A pagination token for obtaining the next page of results.- Parameters:
nextToken
- A pagination token for obtaining the next page of results.- 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 ListIdentityPoolUsageResult clone()
-
-