@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IdentityUsage extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
IdentityUsage() |
Modifier and Type | Method and Description |
---|---|
IdentityUsage |
clone() |
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
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 void setIdentityId(String identityId)
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 getIdentityId()
public IdentityUsage withIdentityId(String identityId)
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 void setIdentityPoolId(String identityPoolId)
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 String getIdentityPoolId()
public IdentityUsage withIdentityPoolId(String identityPoolId)
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 void setLastModifiedDate(Date lastModifiedDate)
lastModifiedDate
- Date on which the identity was last modified.public Date getLastModifiedDate()
public IdentityUsage withLastModifiedDate(Date lastModifiedDate)
lastModifiedDate
- Date on which the identity was last modified.public void setDatasetCount(Integer datasetCount)
datasetCount
- Number of datasets for the identity.public Integer getDatasetCount()
public IdentityUsage withDatasetCount(Integer datasetCount)
datasetCount
- Number of datasets for the identity.public void setDataStorage(Long dataStorage)
dataStorage
- Total data storage for this identity.public Long getDataStorage()
public IdentityUsage withDataStorage(Long dataStorage)
dataStorage
- Total data storage for this identity.public String toString()
toString
in class Object
Object.toString()
public IdentityUsage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.