@NotThreadSafe public static final class RetrieveThing.Builder extends Object
RetrieveThing.| Modifier and Type | Method and Description |
|---|---|
RetrieveThing |
build() |
RetrieveThing.Builder |
withSelectedFields(org.eclipse.ditto.json.JsonFieldSelector fieldSelector)
Sets the fields of the JSON representation of the Thing to retrieve.
|
RetrieveThing.Builder |
withSnapshotRevision(long snapshotRevision)
Sets the revision of the persistence snapshot of the Thing to retrieve.
|
public RetrieveThing.Builder withSelectedFields(@Nullable org.eclipse.ditto.json.JsonFieldSelector fieldSelector)
fieldSelector - the selected JSON fields.public RetrieveThing.Builder withSnapshotRevision(long snapshotRevision)
snapshotRevision - the revision.public RetrieveThing build()
Copyright © 2017–2018 Eclipse Foundation. All rights reserved.