| Package | Description |
|---|---|
| software.amazon.awssdk.services.kendra.model |
| Modifier and Type | Method and Description |
|---|---|
static TextWithHighlights.Builder |
TextWithHighlights.builder() |
TextWithHighlights.Builder |
TextWithHighlights.Builder.highlights(Collection<Highlight> highlights)
The beginning and end of the text that should be highlighted.
|
TextWithHighlights.Builder |
TextWithHighlights.Builder.highlights(Consumer<Highlight.Builder>... highlights)
The beginning and end of the text that should be highlighted.
|
TextWithHighlights.Builder |
TextWithHighlights.Builder.highlights(Highlight... highlights)
The beginning and end of the text that should be highlighted.
|
TextWithHighlights.Builder |
TextWithHighlights.Builder.text(String text)
The text to display to the user.
|
TextWithHighlights.Builder |
TextWithHighlights.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends TextWithHighlights.Builder> |
TextWithHighlights.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default QueryResultItem.Builder |
QueryResultItem.Builder.documentExcerpt(Consumer<TextWithHighlights.Builder> documentExcerpt)
An extract of the text in the document.
|
default QueryResultItem.Builder |
QueryResultItem.Builder.documentTitle(Consumer<TextWithHighlights.Builder> documentTitle)
The title of the document.
|
default AdditionalResultAttributeValue.Builder |
AdditionalResultAttributeValue.Builder.textWithHighlightsValue(Consumer<TextWithHighlights.Builder> textWithHighlightsValue)
The text associated with the attribute and information about the highlight to apply to the text.
|
Copyright © 2021. All rights reserved.