@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Record extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
Record() |
Modifier and Type | Method and Description |
---|---|
Record |
clone() |
boolean |
equals(Object obj) |
Date |
getDeviceLastModifiedDate()
The last modified date of the client device.
|
String |
getKey()
The key for the record.
|
String |
getLastModifiedBy()
The user/device that made the last change to this record.
|
Date |
getLastModifiedDate()
The date on which the record was last modified.
|
Long |
getSyncCount()
The server sync count for this record.
|
String |
getValue()
The value for the record.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDeviceLastModifiedDate(Date deviceLastModifiedDate)
The last modified date of the client device.
|
void |
setKey(String key)
The key for the record.
|
void |
setLastModifiedBy(String lastModifiedBy)
The user/device that made the last change to this record.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The date on which the record was last modified.
|
void |
setSyncCount(Long syncCount)
The server sync count for this record.
|
void |
setValue(String value)
The value for the record.
|
String |
toString()
Returns a string representation of this object.
|
Record |
withDeviceLastModifiedDate(Date deviceLastModifiedDate)
The last modified date of the client device.
|
Record |
withKey(String key)
The key for the record.
|
Record |
withLastModifiedBy(String lastModifiedBy)
The user/device that made the last change to this record.
|
Record |
withLastModifiedDate(Date lastModifiedDate)
The date on which the record was last modified.
|
Record |
withSyncCount(Long syncCount)
The server sync count for this record.
|
Record |
withValue(String value)
The value for the record.
|
public void setKey(String key)
key
- The key for the record.public String getKey()
public Record withKey(String key)
key
- The key for the record.public void setValue(String value)
value
- The value for the record.public String getValue()
public Record withValue(String value)
value
- The value for the record.public void setSyncCount(Long syncCount)
syncCount
- The server sync count for this record.public Long getSyncCount()
public Record withSyncCount(Long syncCount)
syncCount
- The server sync count for this record.public void setLastModifiedDate(Date lastModifiedDate)
lastModifiedDate
- The date on which the record was last modified.public Date getLastModifiedDate()
public Record withLastModifiedDate(Date lastModifiedDate)
lastModifiedDate
- The date on which the record was last modified.public void setLastModifiedBy(String lastModifiedBy)
lastModifiedBy
- The user/device that made the last change to this record.public String getLastModifiedBy()
public Record withLastModifiedBy(String lastModifiedBy)
lastModifiedBy
- The user/device that made the last change to this record.public void setDeviceLastModifiedDate(Date deviceLastModifiedDate)
deviceLastModifiedDate
- The last modified date of the client device.public Date getDeviceLastModifiedDate()
public Record withDeviceLastModifiedDate(Date deviceLastModifiedDate)
deviceLastModifiedDate
- The last modified date of the client device.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.