|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.mobileconnectors.cognito.Record
public final class Record
A Record is the element stored in a Dataset. There can be up to 1k
records or up to 1 MB in size in a Dataset.
| Nested Class Summary | |
|---|---|
static class |
Record.Builder
A Builder class that helps build an immutable Record object. |
| Method Summary | |
|---|---|
java.util.Date |
getDeviceLastModifiedDate()
Gets the local timestamp of this record when it was last modified. |
java.lang.String |
getKey()
Gets the key of this record. |
java.lang.String |
getLastModifiedBy()
Gets the identifier of the user or device which modified this record last. |
java.util.Date |
getLastModifiedDate()
Gets the server timestamp of this record when it was last modified. |
long |
getSyncCount()
Gets the sync count of this record. |
java.lang.String |
getValue()
Gets the value of this record. |
boolean |
isDeleted()
Gets whether the record is marked as deleted. |
boolean |
isModified()
Gets a flag that indicates whether this record is modified locally but hasn't been synced. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getKey()
public java.lang.String getValue()
public long getSyncCount()
public java.util.Date getLastModifiedDate()
public java.lang.String getLastModifiedBy()
public java.util.Date getDeviceLastModifiedDate()
public boolean isModified()
public boolean isDeleted()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||