Class IdentityUsage
java.lang.Object
com.amazonaws.services.cognitosync.model.IdentityUsage
- All Implemented Interfaces:
Serializable
,Cloneable
Usage information for the identity.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Number of datasets for the identity.Total data storage for this identity.A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.Date on which the identity was last modified.int
hashCode()
void
setDatasetCount
(Integer datasetCount) Number of datasets for the identity.void
setDataStorage
(Long dataStorage) Total data storage for this identity.void
setIdentityId
(String identityId) A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.void
setIdentityPoolId
(String identityPoolId) A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.void
setLastModifiedDate
(Date lastModifiedDate) Date on which the identity was last modified.toString()
Returns a string representation of this object; useful for testing and debugging.withDatasetCount
(Integer datasetCount) Number of datasets for the identity.withDataStorage
(Long dataStorage) Total data storage for this identity.withIdentityId
(String identityId) A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.withIdentityPoolId
(String identityPoolId) A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.withLastModifiedDate
(Date lastModifiedDate) Date on which the identity was last modified.
-
Constructor Details
-
IdentityUsage
public IdentityUsage()
-
-
Method Details
-
setIdentityId
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
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
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
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
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
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
Date on which the identity was last modified.- Parameters:
lastModifiedDate
- Date on which the identity was last modified.
-
getLastModifiedDate
Date on which the identity was last modified.- Returns:
- Date on which the identity was last modified.
-
withLastModifiedDate
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
Number of datasets for the identity.- Parameters:
datasetCount
- Number of datasets for the identity.
-
getDatasetCount
Number of datasets for the identity.- Returns:
- Number of datasets for the identity.
-
withDatasetCount
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
Total data storage for this identity.- Parameters:
dataStorage
- Total data storage for this identity.
-
getDataStorage
Total data storage for this identity.- Returns:
- Total data storage for this identity.
-
withDataStorage
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-