@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Dataset extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Dataset() |
Modifier and Type | Method and Description |
---|---|
Dataset |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDate()
Date on which the dataset was created.
|
String |
getDatasetName()
A string of up to 128 characters.
|
Long |
getDataStorage()
Total size in bytes of the records in this dataset.
|
String |
getIdentityId()
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.
|
String |
getLastModifiedBy()
The device that made the last change to this dataset.
|
Date |
getLastModifiedDate()
Date when the dataset was last modified.
|
Long |
getNumRecords()
Number of records in this dataset.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDate(Date creationDate)
Date on which the dataset was created.
|
void |
setDatasetName(String datasetName)
A string of up to 128 characters.
|
void |
setDataStorage(Long dataStorage)
Total size in bytes of the records in this dataset.
|
void |
setIdentityId(String identityId)
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.
|
void |
setLastModifiedBy(String lastModifiedBy)
The device that made the last change to this dataset.
|
void |
setLastModifiedDate(Date lastModifiedDate)
Date when the dataset was last modified.
|
void |
setNumRecords(Long numRecords)
Number of records in this dataset.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Dataset |
withCreationDate(Date creationDate)
Date on which the dataset was created.
|
Dataset |
withDatasetName(String datasetName)
A string of up to 128 characters.
|
Dataset |
withDataStorage(Long dataStorage)
Total size in bytes of the records in this dataset.
|
Dataset |
withIdentityId(String identityId)
A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito.
|
Dataset |
withLastModifiedBy(String lastModifiedBy)
The device that made the last change to this dataset.
|
Dataset |
withLastModifiedDate(Date lastModifiedDate)
Date when the dataset was last modified.
|
Dataset |
withNumRecords(Long numRecords)
Number of records in this dataset.
|
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 Dataset 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 setDatasetName(String datasetName)
datasetName
- A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and
'.' (dot).public String getDatasetName()
public Dataset withDatasetName(String datasetName)
datasetName
- A string of up to 128 characters. Allowed characters are a-z, A-Z, 0-9, '_' (underscore), '-' (dash), and
'.' (dot).public void setCreationDate(Date creationDate)
creationDate
- Date on which the dataset was created.public Date getCreationDate()
public Dataset withCreationDate(Date creationDate)
creationDate
- Date on which the dataset was created.public void setLastModifiedDate(Date lastModifiedDate)
lastModifiedDate
- Date when the dataset was last modified.public Date getLastModifiedDate()
public Dataset withLastModifiedDate(Date lastModifiedDate)
lastModifiedDate
- Date when the dataset was last modified.public void setLastModifiedBy(String lastModifiedBy)
lastModifiedBy
- The device that made the last change to this dataset.public String getLastModifiedBy()
public Dataset withLastModifiedBy(String lastModifiedBy)
lastModifiedBy
- The device that made the last change to this dataset.public void setDataStorage(Long dataStorage)
dataStorage
- Total size in bytes of the records in this dataset.public Long getDataStorage()
public Dataset withDataStorage(Long dataStorage)
dataStorage
- Total size in bytes of the records in this dataset.public void setNumRecords(Long numRecords)
numRecords
- Number of records in this dataset.public Long getNumRecords()
public Dataset withNumRecords(Long numRecords)
numRecords
- Number of records in this dataset.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.