Class IdentityPoolUsage
- java.lang.Object
-
- com.amazonaws.services.cognitosync.model.IdentityPoolUsage
-
- All Implemented Interfaces:
Serializable,Cloneable
public class IdentityPoolUsage extends Object implements Serializable, Cloneable
Usage information for the identity pool.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IdentityPoolUsage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentityPoolUsageclone()booleanequals(Object obj)LonggetDataStorage()Data storage information for the identity pool.StringgetIdentityPoolId()A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.DategetLastModifiedDate()Date on which the identity pool was last modified.LonggetSyncSessionsCount()Number of sync sessions for the identity pool.inthashCode()voidsetDataStorage(Long dataStorage)Data storage information for the identity pool.voidsetIdentityPoolId(String identityPoolId)A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.voidsetLastModifiedDate(Date lastModifiedDate)Date on which the identity pool was last modified.voidsetSyncSessionsCount(Long syncSessionsCount)Number of sync sessions for the identity pool.StringtoString()Returns a string representation of this object; useful for testing and debugging.IdentityPoolUsagewithDataStorage(Long dataStorage)Data storage information for the identity pool.IdentityPoolUsagewithIdentityPoolId(String identityPoolId)A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.IdentityPoolUsagewithLastModifiedDate(Date lastModifiedDate)Date on which the identity pool was last modified.IdentityPoolUsagewithSyncSessionsCount(Long syncSessionsCount)Number of sync sessions for the identity pool.
-
-
-
Method Detail
-
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 IdentityPoolUsage 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.
-
setSyncSessionsCount
public void setSyncSessionsCount(Long syncSessionsCount)
Number of sync sessions for the identity pool.- Parameters:
syncSessionsCount- Number of sync sessions for the identity pool.
-
getSyncSessionsCount
public Long getSyncSessionsCount()
Number of sync sessions for the identity pool.- Returns:
- Number of sync sessions for the identity pool.
-
withSyncSessionsCount
public IdentityPoolUsage withSyncSessionsCount(Long syncSessionsCount)
Number of sync sessions for the identity pool.- Parameters:
syncSessionsCount- Number of sync sessions for the identity pool.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDataStorage
public void setDataStorage(Long dataStorage)
Data storage information for the identity pool.- Parameters:
dataStorage- Data storage information for the identity pool.
-
getDataStorage
public Long getDataStorage()
Data storage information for the identity pool.- Returns:
- Data storage information for the identity pool.
-
withDataStorage
public IdentityPoolUsage withDataStorage(Long dataStorage)
Data storage information for the identity pool.- Parameters:
dataStorage- Data storage information for the identity pool.- 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 pool was last modified.- Parameters:
lastModifiedDate- Date on which the identity pool was last modified.
-
getLastModifiedDate
public Date getLastModifiedDate()
Date on which the identity pool was last modified.- Returns:
- Date on which the identity pool was last modified.
-
withLastModifiedDate
public IdentityPoolUsage withLastModifiedDate(Date lastModifiedDate)
Date on which the identity pool was last modified.- Parameters:
lastModifiedDate- Date on which the identity pool was last modified.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public IdentityPoolUsage clone()
-
-