public class Dataset
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.util.Date |
creationDate
Date on which the dataset was created.
|
private java.lang.String |
datasetName
A string of up to 128 characters.
|
private java.lang.Long |
dataStorage
Total size in bytes of the records in this dataset.
|
private java.lang.String |
identityId
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
private java.lang.String |
lastModifiedBy
The device that made the last change to this dataset.
|
private java.util.Date |
lastModifiedDate
Date when the dataset was last modified.
|
private java.lang.Long |
numRecords
Number of records in this dataset.
|
Constructor and Description |
---|
Dataset() |
Modifier and Type | Method and Description |
---|---|
Dataset |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreationDate()
Date on which the dataset was created.
|
java.lang.String |
getDatasetName()
A string of up to 128 characters.
|
java.lang.Long |
getDataStorage()
Total size in bytes of the records in this dataset.
|
java.lang.String |
getIdentityId()
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
java.lang.String |
getLastModifiedBy()
The device that made the last change to this dataset.
|
java.util.Date |
getLastModifiedDate()
Date when the dataset was last modified.
|
java.lang.Long |
getNumRecords()
Number of records in this dataset.
|
int |
hashCode() |
void |
setCreationDate(java.util.Date creationDate)
Date on which the dataset was created.
|
void |
setDatasetName(java.lang.String datasetName)
A string of up to 128 characters.
|
void |
setDataStorage(java.lang.Long dataStorage)
Total size in bytes of the records in this dataset.
|
void |
setIdentityId(java.lang.String identityId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
void |
setLastModifiedBy(java.lang.String lastModifiedBy)
The device that made the last change to this dataset.
|
void |
setLastModifiedDate(java.util.Date lastModifiedDate)
Date when the dataset was last modified.
|
void |
setNumRecords(java.lang.Long numRecords)
Number of records in this dataset.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Dataset |
withCreationDate(java.util.Date creationDate)
Date on which the dataset was created.
|
Dataset |
withDatasetName(java.lang.String datasetName)
A string of up to 128 characters.
|
Dataset |
withDataStorage(java.lang.Long dataStorage)
Total size in bytes of the records in this dataset.
|
Dataset |
withIdentityId(java.lang.String identityId)
A name-spaced GUID (for example,
us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon
Cognito.
|
Dataset |
withLastModifiedBy(java.lang.String lastModifiedBy)
The device that made the last change to this dataset.
|
Dataset |
withLastModifiedDate(java.util.Date lastModifiedDate)
Date when the dataset was last modified.
|
Dataset |
withNumRecords(java.lang.Long numRecords)
Number of records in this dataset.
|
private java.lang.String identityId
private java.lang.String datasetName
private java.util.Date creationDate
private java.util.Date lastModifiedDate
private java.lang.String lastModifiedBy
private java.lang.Long dataStorage
private java.lang.Long numRecords
public void setIdentityId(java.lang.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 java.lang.String getIdentityId()
public Dataset withIdentityId(java.lang.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(java.lang.String datasetName)
datasetName
- A string of up to 128 characters. Allowed characters are a-z, A-Z,
0-9, '_' (underscore), '-' (dash), and '.' (dot).public java.lang.String getDatasetName()
public Dataset withDatasetName(java.lang.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(java.util.Date creationDate)
creationDate
- Date on which the dataset was created.public java.util.Date getCreationDate()
public Dataset withCreationDate(java.util.Date creationDate)
creationDate
- Date on which the dataset was created.public void setLastModifiedDate(java.util.Date lastModifiedDate)
lastModifiedDate
- Date when the dataset was last modified.public java.util.Date getLastModifiedDate()
public Dataset withLastModifiedDate(java.util.Date lastModifiedDate)
lastModifiedDate
- Date when the dataset was last modified.public void setLastModifiedBy(java.lang.String lastModifiedBy)
lastModifiedBy
- The device that made the last change to this dataset.public java.lang.String getLastModifiedBy()
public Dataset withLastModifiedBy(java.lang.String lastModifiedBy)
lastModifiedBy
- The device that made the last change to this dataset.public void setDataStorage(java.lang.Long dataStorage)
dataStorage
- Total size in bytes of the records in this dataset.public java.lang.Long getDataStorage()
public Dataset withDataStorage(java.lang.Long dataStorage)
dataStorage
- Total size in bytes of the records in this dataset.public void setNumRecords(java.lang.Long numRecords)
numRecords
- Number of records in this dataset.public java.lang.Long getNumRecords()
public Dataset withNumRecords(java.lang.Long numRecords)
numRecords
- Number of records in this dataset.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public Dataset clone()
clone
in class java.lang.Object