Class UpdateDocumentRequest.Builder
- All Implemented Interfaces:
UpdateDocumentRequest._FinalStage,UpdateDocumentRequest.BodyStage
- Enclosing class:
UpdateDocumentRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) allowClear(Boolean allowClear) APUTis a full replacement: if the submitted request omits (or sends as null) a stored field that a list or lookup response returns only as an indexed projection (a large document whose payload is stored externally), the update is rejected unless you setallowClear=trueto confirm that clearing those fields is intended.allowClear(Optional<Boolean> allowClear) APUTis a full replacement: if the submitted request omits (or sends as null) a stored field that a list or lookup response returns only as an indexed projection (a large document whose payload is stored externally), the update is rejected unless you setallowClear=trueto confirm that clearing those fields is intended.body(@NotNull DocumentRequest body) build()from(UpdateDocumentRequest other)
-
Method Details
-
from
- Specified by:
fromin interfaceUpdateDocumentRequest.BodyStage
-
body
- Specified by:
bodyin interfaceUpdateDocumentRequest.BodyStage
-
allowClear
A
PUTis a full replacement: if the submitted request omits (or sends as null) a stored field that a list or lookup response returns only as an indexed projection (a large document whose payload is stored externally), the update is rejected unless you setallowClear=trueto confirm that clearing those fields is intended. Use PATCH to update without clearing omitted fields. Defaults tofalse.- Specified by:
allowClearin interfaceUpdateDocumentRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
allowClear
A
PUTis a full replacement: if the submitted request omits (or sends as null) a stored field that a list or lookup response returns only as an indexed projection (a large document whose payload is stored externally), the update is rejected unless you setallowClear=trueto confirm that clearing those fields is intended. Use PATCH to update without clearing omitted fields. Defaults tofalse.- Specified by:
allowClearin interfaceUpdateDocumentRequest._FinalStage
-
build
- Specified by:
buildin interfaceUpdateDocumentRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceUpdateDocumentRequest._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceUpdateDocumentRequest._FinalStage
-