@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecordPatch extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
RecordPatch() |
Modifier and Type | Method and Description |
---|---|
RecordPatch |
clone() |
boolean |
equals(Object obj) |
Date |
getDeviceLastModifiedDate()
The last modified date of the client device.
|
String |
getKey()
The key associated with the record patch.
|
String |
getOp()
An operation, either replace or remove.
|
Long |
getSyncCount()
Last known server sync count for this record.
|
String |
getValue()
The value associated with the record patch.
|
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 associated with the record patch.
|
void |
setOp(Operation op)
An operation, either replace or remove.
|
void |
setOp(String op)
An operation, either replace or remove.
|
void |
setSyncCount(Long syncCount)
Last known server sync count for this record.
|
void |
setValue(String value)
The value associated with the record patch.
|
String |
toString()
Returns a string representation of this object.
|
RecordPatch |
withDeviceLastModifiedDate(Date deviceLastModifiedDate)
The last modified date of the client device.
|
RecordPatch |
withKey(String key)
The key associated with the record patch.
|
RecordPatch |
withOp(Operation op)
An operation, either replace or remove.
|
RecordPatch |
withOp(String op)
An operation, either replace or remove.
|
RecordPatch |
withSyncCount(Long syncCount)
Last known server sync count for this record.
|
RecordPatch |
withValue(String value)
The value associated with the record patch.
|
public void setOp(String op)
op
- An operation, either replace or remove.Operation
public String getOp()
Operation
public RecordPatch withOp(String op)
op
- An operation, either replace or remove.Operation
public void setOp(Operation op)
op
- An operation, either replace or remove.Operation
public RecordPatch withOp(Operation op)
op
- An operation, either replace or remove.Operation
public void setKey(String key)
key
- The key associated with the record patch.public String getKey()
public RecordPatch withKey(String key)
key
- The key associated with the record patch.public void setValue(String value)
value
- The value associated with the record patch.public String getValue()
public RecordPatch withValue(String value)
value
- The value associated with the record patch.public void setSyncCount(Long syncCount)
syncCount
- Last known server sync count for this record. Set to 0 if unknown.public Long getSyncCount()
public RecordPatch withSyncCount(Long syncCount)
syncCount
- Last known server sync count for this record. Set to 0 if unknown.public void setDeviceLastModifiedDate(Date deviceLastModifiedDate)
deviceLastModifiedDate
- The last modified date of the client device.public Date getDeviceLastModifiedDate()
public RecordPatch withDeviceLastModifiedDate(Date deviceLastModifiedDate)
deviceLastModifiedDate
- The last modified date of the client device.public String toString()
toString
in class Object
Object.toString()
public RecordPatch clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.