Class IdentityPoolUsage

java.lang.Object
com.amazonaws.services.cognitosync.model.IdentityPoolUsage
All Implemented Interfaces:
Serializable, Cloneable

public class IdentityPoolUsage extends Object implements Serializable, Cloneable
Usage information for the identity pool.
See Also:
  • Constructor Details

    • IdentityPoolUsage

      public IdentityPoolUsage()
  • Method Details

    • setIdentityPoolId

      public void setIdentityPoolId(String identityPoolId)
      A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
      Parameters:
      identityPoolId - A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
    • getIdentityPoolId

      public String getIdentityPoolId()
      A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
      Returns:
      A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
    • withIdentityPoolId

      public IdentityPoolUsage withIdentityPoolId(String identityPoolId)
      A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
      Parameters:
      identityPoolId - A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. GUID generation is unique within a region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setSyncSessionsCount

      public void setSyncSessionsCount(Long syncSessionsCount)
      Number of sync sessions for the identity pool.
      Parameters:
      syncSessionsCount - Number of sync sessions for the identity pool.
    • getSyncSessionsCount

      public Long getSyncSessionsCount()
      Number of sync sessions for the identity pool.
      Returns:
      Number of sync sessions for the identity pool.
    • withSyncSessionsCount

      public IdentityPoolUsage withSyncSessionsCount(Long syncSessionsCount)
      Number of sync sessions for the identity pool.
      Parameters:
      syncSessionsCount - Number of sync sessions for the identity pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDataStorage

      public void setDataStorage(Long dataStorage)
      Data storage information for the identity pool.
      Parameters:
      dataStorage - Data storage information for the identity pool.
    • getDataStorage

      public Long getDataStorage()
      Data storage information for the identity pool.
      Returns:
      Data storage information for the identity pool.
    • withDataStorage

      public IdentityPoolUsage withDataStorage(Long dataStorage)
      Data storage information for the identity pool.
      Parameters:
      dataStorage - Data storage information for the identity pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setLastModifiedDate

      public void setLastModifiedDate(Date lastModifiedDate)
      Date on which the identity pool was last modified.
      Parameters:
      lastModifiedDate - Date on which the identity pool was last modified.
    • getLastModifiedDate

      public Date getLastModifiedDate()
      Date on which the identity pool was last modified.
      Returns:
      Date on which the identity pool was last modified.
    • withLastModifiedDate

      public IdentityPoolUsage withLastModifiedDate(Date lastModifiedDate)
      Date on which the identity pool was last modified.
      Parameters:
      lastModifiedDate - Date on which the identity pool was last modified.
      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

      public IdentityPoolUsage clone()
      Overrides:
      clone in class Object