public final class DatasetMetadata
extends java.lang.Object
Dataset
, including name, server sync count, last
modified date. The is the cached information of a dataset. It might not
reflect the most up-to-date information stored remotely. Please call
CognitoSyncManager.refreshDatasetMetadata()
to pull the latest
information.Modifier and Type | Class and Description |
---|---|
static class |
DatasetMetadata.Builder
The builder to construct
DatasetMetadata object. |
Modifier and Type | Method and Description |
---|---|
java.util.Date |
getCreationDate()
Gets the creation date of this dataset.
|
java.lang.String |
getDatasetName()
Gets the name of this dataset.
|
java.lang.String |
getLastModifiedBy()
Gets the device that made the last modification to the dataset.
|
java.util.Date |
getLastModifiedDate()
Gets last modified date of this dataset.
|
long |
getRecordCount()
Gets the number of records in this dataset.
|
long |
getStorageSizeBytes()
Gets the storage size in bytes of this dataset.
|
java.lang.String |
toString() |
public java.lang.String getDatasetName()
public java.util.Date getCreationDate()
public java.util.Date getLastModifiedDate()
public java.lang.String getLastModifiedBy()
public long getStorageSizeBytes()
public long getRecordCount()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.