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:
  • Constructor Details

    • ListIdentityPoolUsageResult

      public ListIdentityPoolUsageResult()
  • Method Details

    • 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) or withIdentityPoolUsages(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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object