Class IdentityUsage

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

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

    • IdentityUsage

      public IdentityUsage()
  • Method Details

    • setIdentityId

      public void setIdentityId(String identityId)
      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:
      identityId - 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.
    • getIdentityId

      public String getIdentityId()
      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.
    • withIdentityId

      public IdentityUsage withIdentityId(String identityId)
      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:
      identityId - 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.
    • 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 IdentityUsage 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.
    • setLastModifiedDate

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

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

      public IdentityUsage withLastModifiedDate(Date lastModifiedDate)
      Date on which the identity was last modified.
      Parameters:
      lastModifiedDate - Date on which the identity was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDatasetCount

      public void setDatasetCount(Integer datasetCount)
      Number of datasets for the identity.
      Parameters:
      datasetCount - Number of datasets for the identity.
    • getDatasetCount

      public Integer getDatasetCount()
      Number of datasets for the identity.
      Returns:
      Number of datasets for the identity.
    • withDatasetCount

      public IdentityUsage withDatasetCount(Integer datasetCount)
      Number of datasets for the identity.
      Parameters:
      datasetCount - Number of datasets for the identity.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDataStorage

      public void setDataStorage(Long dataStorage)
      Total data storage for this identity.
      Parameters:
      dataStorage - Total data storage for this identity.
    • getDataStorage

      public Long getDataStorage()
      Total data storage for this identity.
      Returns:
      Total data storage for this identity.
    • withDataStorage

      public IdentityUsage withDataStorage(Long dataStorage)
      Total data storage for this identity.
      Parameters:
      dataStorage - Total data storage for this identity.
      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 IdentityUsage clone()
      Overrides:
      clone in class Object