public class IdentityUsage
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
datasetCount
Number of datasets for the identity.
|
private java.lang.Long |
dataStorage
Total data storage for this identity.
|
private java.lang.String |
identityId
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
private java.lang.String |
identityPoolId
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
private java.util.Date |
lastModifiedDate
Date on which the identity was last modified.
|
Constructor and Description |
---|
IdentityUsage() |
Modifier and Type | Method and Description |
---|---|
IdentityUsage |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getDatasetCount()
Number of datasets for the identity.
|
java.lang.Long |
getDataStorage()
Total data storage for this identity.
|
java.lang.String |
getIdentityId()
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
java.lang.String |
getIdentityPoolId()
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
java.util.Date |
getLastModifiedDate()
Date on which the identity was last modified.
|
int |
hashCode() |
void |
setDatasetCount(java.lang.Integer datasetCount)
Number of datasets for the identity.
|
void |
setDataStorage(java.lang.Long dataStorage)
Total data storage for this identity.
|
void |
setIdentityId(java.lang.String identityId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
void |
setIdentityPoolId(java.lang.String identityPoolId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
void |
setLastModifiedDate(java.util.Date lastModifiedDate)
Date on which the identity was last modified.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
IdentityUsage |
withDatasetCount(java.lang.Integer datasetCount)
Number of datasets for the identity.
|
IdentityUsage |
withDataStorage(java.lang.Long dataStorage)
Total data storage for this identity.
|
IdentityUsage |
withIdentityId(java.lang.String identityId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
IdentityUsage |
withIdentityPoolId(java.lang.String identityPoolId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
IdentityUsage |
withLastModifiedDate(java.util.Date lastModifiedDate)
Date on which the identity was last modified.
|
private java.lang.String identityId
private java.lang.String identityPoolId
private java.util.Date lastModifiedDate
private java.lang.Integer datasetCount
private java.lang.Long dataStorage
public void setIdentityId(java.lang.String identityId)
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.public java.lang.String getIdentityId()
public IdentityUsage withIdentityId(java.lang.String identityId)
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.public void setIdentityPoolId(java.lang.String identityPoolId)
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.public java.lang.String getIdentityPoolId()
public IdentityUsage withIdentityPoolId(java.lang.String identityPoolId)
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.public void setLastModifiedDate(java.util.Date lastModifiedDate)
lastModifiedDate
- Date on which the identity was last modified.public java.util.Date getLastModifiedDate()
public IdentityUsage withLastModifiedDate(java.util.Date lastModifiedDate)
lastModifiedDate
- Date on which the identity was last modified.public void setDatasetCount(java.lang.Integer datasetCount)
datasetCount
- Number of datasets for the identity.public java.lang.Integer getDatasetCount()
public IdentityUsage withDatasetCount(java.lang.Integer datasetCount)
datasetCount
- Number of datasets for the identity.public void setDataStorage(java.lang.Long dataStorage)
dataStorage
- Total data storage for this identity.public java.lang.Long getDataStorage()
public IdentityUsage withDataStorage(java.lang.Long dataStorage)
dataStorage
- Total data storage for this identity.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public IdentityUsage clone()
clone
in class java.lang.Object