Class IdentityUsage

    • Constructor Detail

      • IdentityUsage

        public IdentityUsage()
    • Method Detail

      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object