Class IdentityPoolUsage
java.lang.Object
com.amazonaws.services.cognitosync.model.IdentityPoolUsage
- All Implemented Interfaces:
Serializable
,Cloneable
Usage information for the identity pool.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Data storage information for the identity pool.A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.Date on which the identity pool was last modified.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.toString()
Returns a string representation of this object; useful for testing and debugging.withDataStorage
(Long dataStorage) Data storage information for the identity pool.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 pool was last modified.withSyncSessionsCount
(Long syncSessionsCount) Number of sync sessions for the identity pool.
-
Constructor Details
-
IdentityPoolUsage
public IdentityPoolUsage()
-
-
Method Details
-
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.
-
setSyncSessionsCount
Number of sync sessions for the identity pool.- Parameters:
syncSessionsCount
- Number of sync sessions for the identity pool.
-
getSyncSessionsCount
Number of sync sessions for the identity pool.- Returns:
- Number of sync sessions for the identity pool.
-
withSyncSessionsCount
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
Data storage information for the identity pool.- Parameters:
dataStorage
- Data storage information for the identity pool.
-
getDataStorage
Data storage information for the identity pool.- Returns:
- Data storage information for the identity pool.
-
withDataStorage
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
Date on which the identity pool was last modified.- Parameters:
lastModifiedDate
- Date on which the identity pool was last modified.
-
getLastModifiedDate
Date on which the identity pool was last modified.- Returns:
- Date on which the identity pool was last modified.
-
withLastModifiedDate
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-