Class IngestDocumentRequest.Builder
- All Implemented Interfaces:
IngestDocumentRequest._FinalStage,IngestDocumentRequest.BodyStage
- Enclosing class:
IngestDocumentRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalProperties(Map<String, Object> additionalProperties) additionalProperty(String key, Object value) body(@NotNull DocumentRequest body) build()from(IngestDocumentRequest other) Whentrue, if a document with the sameexternalIdalready exists its content is overwritten (the submittedpayload,title, and — when supplied —textare applied and the version is bumped) instead of being returned unchanged; the immutableexternalId,schemaId,indexMode, and ownership are never changed.Whentrue, if a document with the sameexternalIdalready exists its content is overwritten (the submittedpayload,title, and — when supplied —textare applied and the version is bumped) instead of being returned unchanged; the immutableexternalId,schemaId,indexMode, and ownership are never changed.
-
Method Details
-
from
- Specified by:
fromin interfaceIngestDocumentRequest.BodyStage
-
body
- Specified by:
bodyin interfaceIngestDocumentRequest.BodyStage
-
upsert
When
true, if a document with the sameexternalIdalready exists its content is overwritten (the submittedpayload,title, and — when supplied —textare applied and the version is bumped) instead of being returned unchanged; the immutableexternalId,schemaId,indexMode, and ownership are never changed. Defaults tofalse. Requires thedocuments:uscope in addition todocuments:c.- Specified by:
upsertin interfaceIngestDocumentRequest._FinalStage- Returns:
- Reference to
thisso that method calls can be chained together.
-
upsert
When
true, if a document with the sameexternalIdalready exists its content is overwritten (the submittedpayload,title, and — when supplied —textare applied and the version is bumped) instead of being returned unchanged; the immutableexternalId,schemaId,indexMode, and ownership are never changed. Defaults tofalse. Requires thedocuments:uscope in addition todocuments:c.- Specified by:
upsertin interfaceIngestDocumentRequest._FinalStage
-
build
- Specified by:
buildin interfaceIngestDocumentRequest._FinalStage
-
additionalProperty
- Specified by:
additionalPropertyin interfaceIngestDocumentRequest._FinalStage
-
additionalProperties
- Specified by:
additionalPropertiesin interfaceIngestDocumentRequest._FinalStage
-