| Package | Description |
|---|---|
| com.amazonaws.services.kendra.model |
| Modifier and Type | Method and Description |
|---|---|
TextWithHighlights |
TextWithHighlights.clone() |
TextWithHighlights |
ExpandedResultItem.getDocumentExcerpt() |
TextWithHighlights |
FeaturedResultsItem.getDocumentExcerpt() |
TextWithHighlights |
QueryResultItem.getDocumentExcerpt()
An extract of the text in the document.
|
TextWithHighlights |
ExpandedResultItem.getDocumentTitle() |
TextWithHighlights |
FeaturedResultsItem.getDocumentTitle() |
TextWithHighlights |
QueryResultItem.getDocumentTitle()
The title of the document.
|
TextWithHighlights |
AdditionalResultAttributeValue.getTextWithHighlightsValue()
The text associated with the attribute and information about the highlight to apply to the text.
|
TextWithHighlights |
TextWithHighlights.withHighlights(Collection<Highlight> highlights)
The beginning and end of the text that should be highlighted.
|
TextWithHighlights |
TextWithHighlights.withHighlights(Highlight... highlights)
The beginning and end of the text that should be highlighted.
|
TextWithHighlights |
TextWithHighlights.withText(String text)
The text to display to the user.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExpandedResultItem.setDocumentExcerpt(TextWithHighlights documentExcerpt) |
void |
FeaturedResultsItem.setDocumentExcerpt(TextWithHighlights documentExcerpt) |
void |
QueryResultItem.setDocumentExcerpt(TextWithHighlights documentExcerpt)
An extract of the text in the document.
|
void |
ExpandedResultItem.setDocumentTitle(TextWithHighlights documentTitle) |
void |
FeaturedResultsItem.setDocumentTitle(TextWithHighlights documentTitle) |
void |
QueryResultItem.setDocumentTitle(TextWithHighlights documentTitle)
The title of the document.
|
void |
AdditionalResultAttributeValue.setTextWithHighlightsValue(TextWithHighlights textWithHighlightsValue)
The text associated with the attribute and information about the highlight to apply to the text.
|
ExpandedResultItem |
ExpandedResultItem.withDocumentExcerpt(TextWithHighlights documentExcerpt) |
FeaturedResultsItem |
FeaturedResultsItem.withDocumentExcerpt(TextWithHighlights documentExcerpt) |
QueryResultItem |
QueryResultItem.withDocumentExcerpt(TextWithHighlights documentExcerpt)
An extract of the text in the document.
|
ExpandedResultItem |
ExpandedResultItem.withDocumentTitle(TextWithHighlights documentTitle) |
FeaturedResultsItem |
FeaturedResultsItem.withDocumentTitle(TextWithHighlights documentTitle) |
QueryResultItem |
QueryResultItem.withDocumentTitle(TextWithHighlights documentTitle)
The title of the document.
|
AdditionalResultAttributeValue |
AdditionalResultAttributeValue.withTextWithHighlightsValue(TextWithHighlights textWithHighlightsValue)
The text associated with the attribute and information about the highlight to apply to the text.
|
Copyright © 2025. All rights reserved.