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 ListIdentityPoolUsageResultclone()booleanequals(Object obj)IntegergetCount()Total number of identities for the identity pool.List<IdentityPoolUsage>getIdentityPoolUsages()Usage information for the identity pools.IntegergetMaxResults()The maximum number of results to be returned.StringgetNextToken()A pagination token for obtaining the next page of results.inthashCode()voidsetCount(Integer count)Total number of identities for the identity pool.voidsetIdentityPoolUsages(Collection<IdentityPoolUsage> identityPoolUsages)Usage information for the identity pools.voidsetMaxResults(Integer maxResults)The maximum number of results to be returned.voidsetNextToken(String nextToken)A pagination token for obtaining the next page of results.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListIdentityPoolUsageResultwithCount(Integer count)Total number of identities for the identity pool.ListIdentityPoolUsageResultwithIdentityPoolUsages(IdentityPoolUsage... identityPoolUsages)Usage information for the identity pools.ListIdentityPoolUsageResultwithIdentityPoolUsages(Collection<IdentityPoolUsage> identityPoolUsages)Usage information for the identity pools.ListIdentityPoolUsageResultwithMaxResults(Integer maxResults)The maximum number of results to be returned.ListIdentityPoolUsageResultwithNextToken(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListIdentityPoolUsageResult clone()
-
-