public class IdentityUsage extends Object implements Serializable
Usage information for the identity.
Constructor and Description |
---|
IdentityUsage() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getDatasetCount()
Number of datasets for the identity.
|
Long |
getDataStorage()
Total data storage for this identity.
|
String |
getIdentityId()
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
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 was last modified.
|
int |
hashCode() |
void |
setDatasetCount(Integer datasetCount)
Number of datasets for the identity.
|
void |
setDataStorage(Long dataStorage)
Total data storage for this identity.
|
void |
setIdentityId(String identityId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
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 was last modified.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
IdentityUsage |
withDatasetCount(Integer datasetCount)
Number of datasets for the identity.
|
IdentityUsage |
withDataStorage(Long dataStorage)
Total data storage for this identity.
|
IdentityUsage |
withIdentityId(String identityId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
IdentityUsage |
withIdentityPoolId(String identityPoolId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
IdentityUsage |
withLastModifiedDate(Date lastModifiedDate)
Date on which the identity was last modified.
|
public String getIdentityId()
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
public void setIdentityId(String identityId)
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
identityId
- 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 IdentityUsage withIdentityId(String identityId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
identityId
- 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 String getIdentityPoolId()
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
public void setIdentityPoolId(String identityPoolId)
Constraints:
Length: 1 - 50
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 IdentityUsage withIdentityPoolId(String identityPoolId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 50
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 Date getLastModifiedDate()
public void setLastModifiedDate(Date lastModifiedDate)
lastModifiedDate
- Date on which the identity was last modified.public IdentityUsage withLastModifiedDate(Date lastModifiedDate)
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate
- Date on which the identity was last modified.public Integer getDatasetCount()
public void setDatasetCount(Integer datasetCount)
datasetCount
- Number of datasets for the identity.public IdentityUsage withDatasetCount(Integer datasetCount)
Returns a reference to this object so that method calls can be chained together.
datasetCount
- Number of datasets for the identity.public Long getDataStorage()
public void setDataStorage(Long dataStorage)
dataStorage
- Total data storage for this identity.public IdentityUsage withDataStorage(Long dataStorage)
Returns a reference to this object so that method calls can be chained together.
dataStorage
- Total data storage for this identity.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.