| Constructor and Description |
|---|
Record.Builder(String key)
Construct a builder object for the new
Record with given key. |
| Modifier and Type | Method and Description |
|---|---|
Record |
build()
Builds a new
Record. |
Record.Builder |
deviceLastModifiedDate(Date deviceLastModifiedDate)
Sets the device last modified date of this
Record. |
Record.Builder |
lastModifiedBy(String lastModifiedBy)
Sets the last modified by of this
Record. |
Record.Builder |
lastModifiedDate(Date lastModifiedDate)
Sets the last modified date of this
Record. |
Record.Builder |
modified(boolean modified)
Sets whether this
Record has local modification. |
Record.Builder |
syncCount(long syncCount)
Sets the syncCount of the new
Record. |
Record.Builder |
value(String value)
Sets the value of the new
Record. |
public Record.Builder value(String value)
Record. Default is null, aka
deleted record.value - nullable String value of this recordpublic Record.Builder syncCount(long syncCount)
Record. Default is the current
time.syncCount - non negative long valuepublic Record.Builder lastModifiedDate(Date lastModifiedDate)
Record. Default is the
current time.lastModifiedDate - last modified date of this recordpublic Record.Builder lastModifiedBy(String lastModifiedBy)
Record. Default is empty
string.lastModifiedBy - device name or user name that last modified
this record.public Record.Builder deviceLastModifiedDate(Date deviceLastModifiedDate)
Record. It's the
local date of the device that modified this record. Default is the
current date.deviceLastModifiedDate - device last modified datepublic Record.Builder modified(boolean modified)
Record has local modification.modified - a flag that indicates whether the record has local
modificationCopyright © 2010 Amazon Web Services, Inc. All Rights Reserved.