Class Record
java.lang.Object
com.amazonaws.services.cognitosync.model.Record
- All Implemented Interfaces:
Serializable, Cloneable
The basic data structure of a dataset.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe last modified date of the client device.getKey()The key for the record.The user/device that made the last change to this record.The date on which the record was last modified.The server sync count for this record.getValue()The value for the record.inthashCode()voidsetDeviceLastModifiedDate(Date deviceLastModifiedDate) The last modified date of the client device.voidThe key for the record.voidsetLastModifiedBy(String lastModifiedBy) The user/device that made the last change to this record.voidsetLastModifiedDate(Date lastModifiedDate) The date on which the record was last modified.voidsetSyncCount(Long syncCount) The server sync count for this record.voidThe value for the record.toString()Returns a string representation of this object; useful for testing and debugging.withDeviceLastModifiedDate(Date deviceLastModifiedDate) The last modified date of the client device.The key for the record.withLastModifiedBy(String lastModifiedBy) The user/device that made the last change to this record.withLastModifiedDate(Date lastModifiedDate) The date on which the record was last modified.withSyncCount(Long syncCount) The server sync count for this record.The value for the record.
-
Constructor Details
-
Record
public Record()
-
-
Method Details
-
setKey
-
getKey
-
withKey
-
setValue
The value for the record.- Parameters:
value- The value for the record.
-
getValue
-
withValue
-
setSyncCount
The server sync count for this record.- Parameters:
syncCount- The server sync count for this record.
-
getSyncCount
The server sync count for this record.- Returns:
- The server sync count for this record.
-
withSyncCount
-
setLastModifiedDate
The date on which the record was last modified.- Parameters:
lastModifiedDate- The date on which the record was last modified.
-
getLastModifiedDate
The date on which the record was last modified.- Returns:
- The date on which the record was last modified.
-
withLastModifiedDate
-
setLastModifiedBy
The user/device that made the last change to this record.- Parameters:
lastModifiedBy- The user/device that made the last change to this record.
-
getLastModifiedBy
The user/device that made the last change to this record.- Returns:
- The user/device that made the last change to this record.
-
withLastModifiedBy
-
setDeviceLastModifiedDate
The last modified date of the client device.- Parameters:
deviceLastModifiedDate- The last modified date of the client device.
-
getDeviceLastModifiedDate
The last modified date of the client device.- Returns:
- The last modified date of the client device.
-
withDeviceLastModifiedDate
-
toString
-
equals
-
hashCode
-
clone
-