@Generated(value="software.amazon.awssdk:codegen") public class Record extends Object implements StructuredPojo, ToCopyableBuilder<Record.Builder,Record>
Modifier and Type | Class and Description |
---|---|
static interface |
Record.Builder |
Modifier and Type | Method and Description |
---|---|
static Record.Builder |
builder() |
Instant |
deviceLastModifiedDate()
The last modified date of the client device.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
key()
The key for the record.
|
String |
lastModifiedBy()
The user/device that made the last change to this record.
|
Instant |
lastModifiedDate()
The date on which the record was last modified.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends Record.Builder> |
serializableBuilderClass() |
Long |
syncCount()
The server sync count for this record.
|
Record.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
value()
The value for the record.
|
copy
public String key()
public String value()
public Long syncCount()
public Instant lastModifiedDate()
public String lastModifiedBy()
public Instant deviceLastModifiedDate()
public Record.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Record.Builder,Record>
public static Record.Builder builder()
public static Class<? extends Record.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.