@NotThreadSafe public static final class RetrieveThings.Builder extends Object
RetrieveThings instances. Multiple calls to one of this class' methods
will overwrite before set values.| Modifier and Type | Method and Description |
|---|---|
RetrieveThings |
build()
Builds an instance of
RetrieveThings based on the provided values. |
RetrieveThings.Builder |
dittoHeaders(org.eclipse.ditto.model.base.headers.DittoHeaders dittoHeaders)
Sets the optional command headers.
|
RetrieveThings.Builder |
namespace(String namespace)
Sets namespace for this command.
|
RetrieveThings.Builder |
selectedFields(org.eclipse.ditto.json.JsonFieldSelector selectedFields)
Sets the JSON fields which should be shown in the JSON document which is returned due to a HTTP request.
|
RetrieveThings.Builder |
selectedFields(Optional<org.eclipse.ditto.json.JsonFieldSelector> selectedFields)
Sets the JSON fields which should be shown in the JSON document which is returned due to a HTTP request.
|
public RetrieveThings.Builder dittoHeaders(org.eclipse.ditto.model.base.headers.DittoHeaders dittoHeaders)
dittoHeaders - the command headers.public RetrieveThings.Builder selectedFields(@Nullable org.eclipse.ditto.json.JsonFieldSelector selectedFields)
selectedFields - the selected JSON fields to be shown in the resulting JSON document.public RetrieveThings.Builder selectedFields(Optional<org.eclipse.ditto.json.JsonFieldSelector> selectedFields)
selectedFields - the selected JSON fields to be shown in the resulting JSON document.public RetrieveThings.Builder namespace(@Nullable String namespace)
namespace - the namespace used for this commandpublic RetrieveThings build()
RetrieveThings based on the provided values.RetrieveThings.Copyright © 2017–2018 Eclipse Foundation. All rights reserved.