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