public class IdentityPoolUsage extends Object implements Serializable, Cloneable
Usage information for the identity pool.
Constructor and Description |
---|
IdentityPoolUsage() |
Modifier and Type | Method and 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.
|
public String getIdentityPoolId()
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
public void setIdentityPoolId(String identityPoolId)
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
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 IdentityPoolUsage withIdentityPoolId(String identityPoolId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+:[0-9a-f-]+
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 Long getSyncSessionsCount()
public void setSyncSessionsCount(Long syncSessionsCount)
syncSessionsCount
- Number of sync sessions for the identity pool.public IdentityPoolUsage withSyncSessionsCount(Long syncSessionsCount)
Returns a reference to this object so that method calls can be chained together.
syncSessionsCount
- Number of sync sessions for the identity pool.public Long getDataStorage()
public void setDataStorage(Long dataStorage)
dataStorage
- Data storage information for the identity pool.public IdentityPoolUsage withDataStorage(Long dataStorage)
Returns a reference to this object so that method calls can be chained together.
dataStorage
- Data storage information for the identity pool.public Date getLastModifiedDate()
public void setLastModifiedDate(Date lastModifiedDate)
lastModifiedDate
- Date on which the identity pool was last modified.public IdentityPoolUsage withLastModifiedDate(Date lastModifiedDate)
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate
- Date on which the identity pool was last modified.public String toString()
toString
in class Object
Object.toString()
public IdentityPoolUsage clone()
Copyright © 2015. All rights reserved.