public static interface SourceDocument.Builder extends SdkPojo, CopyableBuilder<SourceDocument.Builder,SourceDocument>
| Modifier and Type | Method and Description |
|---|---|
SourceDocument.Builder |
additionalAttributes(Collection<DocumentAttribute> additionalAttributes)
The additional fields/attributes to include in the response.
|
SourceDocument.Builder |
additionalAttributes(Consumer<DocumentAttribute.Builder>... additionalAttributes)
The additional fields/attributes to include in the response.
|
SourceDocument.Builder |
additionalAttributes(DocumentAttribute... additionalAttributes)
The additional fields/attributes to include in the response.
|
SourceDocument.Builder |
documentId(String documentId)
The identifier of the document used for a query suggestion.
|
SourceDocument.Builder |
suggestionAttributes(Collection<String> suggestionAttributes)
The document fields/attributes used for a query suggestion.
|
SourceDocument.Builder |
suggestionAttributes(String... suggestionAttributes)
The document fields/attributes used for a query suggestion.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSourceDocument.Builder documentId(String documentId)
The identifier of the document used for a query suggestion.
documentId - The identifier of the document used for a query suggestion.SourceDocument.Builder suggestionAttributes(Collection<String> suggestionAttributes)
The document fields/attributes used for a query suggestion.
suggestionAttributes - The document fields/attributes used for a query suggestion.SourceDocument.Builder suggestionAttributes(String... suggestionAttributes)
The document fields/attributes used for a query suggestion.
suggestionAttributes - The document fields/attributes used for a query suggestion.SourceDocument.Builder additionalAttributes(Collection<DocumentAttribute> additionalAttributes)
The additional fields/attributes to include in the response. You can use additional fields to provide extra information in the response. Additional fields are not used to based suggestions on.
additionalAttributes - The additional fields/attributes to include in the response. You can use additional fields to provide
extra information in the response. Additional fields are not used to based suggestions on.SourceDocument.Builder additionalAttributes(DocumentAttribute... additionalAttributes)
The additional fields/attributes to include in the response. You can use additional fields to provide extra information in the response. Additional fields are not used to based suggestions on.
additionalAttributes - The additional fields/attributes to include in the response. You can use additional fields to provide
extra information in the response. Additional fields are not used to based suggestions on.SourceDocument.Builder additionalAttributes(Consumer<DocumentAttribute.Builder>... additionalAttributes)
The additional fields/attributes to include in the response. You can use additional fields to provide extra information in the response. Additional fields are not used to based suggestions on.
This is a convenience method that creates an instance of theDocumentAttribute.Builder avoiding the need to create
one manually via DocumentAttribute.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #additionalAttributes(List.
additionalAttributes - a consumer that will call methods on
DocumentAttribute.Builder#additionalAttributes(java.util.Collection) Copyright © 2023. All rights reserved.