public class IdentityPoolUsage
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.Long |
dataStorage
Data storage information for the identity pool.
|
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 pool was last modified.
|
private java.lang.Long |
syncSessionsCount
Number of sync sessions for the identity pool.
|
Constructor and Description |
---|
IdentityPoolUsage() |
Modifier and Type | Method and Description |
---|---|
IdentityPoolUsage |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getDataStorage()
Data storage information for the identity pool.
|
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 pool was last modified.
|
java.lang.Long |
getSyncSessionsCount()
Number of sync sessions for the identity pool.
|
int |
hashCode() |
void |
setDataStorage(java.lang.Long dataStorage)
Data storage information for the identity pool.
|
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 pool was last modified.
|
void |
setSyncSessionsCount(java.lang.Long syncSessionsCount)
Number of sync sessions for the identity pool.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
IdentityPoolUsage |
withDataStorage(java.lang.Long dataStorage)
Data storage information for the identity pool.
|
IdentityPoolUsage |
withIdentityPoolId(java.lang.String identityPoolId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
IdentityPoolUsage |
withLastModifiedDate(java.util.Date lastModifiedDate)
Date on which the identity pool was last modified.
|
IdentityPoolUsage |
withSyncSessionsCount(java.lang.Long syncSessionsCount)
Number of sync sessions for the identity pool.
|
private java.lang.String identityPoolId
private java.lang.Long syncSessionsCount
private java.lang.Long dataStorage
private java.util.Date lastModifiedDate
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 IdentityPoolUsage 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 setSyncSessionsCount(java.lang.Long syncSessionsCount)
syncSessionsCount
- Number of sync sessions for the identity pool.public java.lang.Long getSyncSessionsCount()
public IdentityPoolUsage withSyncSessionsCount(java.lang.Long syncSessionsCount)
syncSessionsCount
- Number of sync sessions for the identity pool.public void setDataStorage(java.lang.Long dataStorage)
dataStorage
- Data storage information for the identity pool.public java.lang.Long getDataStorage()
public IdentityPoolUsage withDataStorage(java.lang.Long dataStorage)
dataStorage
- Data storage information for the identity pool.public void setLastModifiedDate(java.util.Date lastModifiedDate)
lastModifiedDate
- Date on which the identity pool was last modified.public java.util.Date getLastModifiedDate()
public IdentityPoolUsage withLastModifiedDate(java.util.Date lastModifiedDate)
lastModifiedDate
- Date on which the identity pool was last modified.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 IdentityPoolUsage clone()
clone
in class java.lang.Object