| Package | Description |
|---|---|
| com.amazonaws.services.kendra.model |
| Modifier and Type | Method and Description |
|---|---|
TextWithHighlights |
TextWithHighlights.clone() |
TextWithHighlights |
QueryResultItem.getDocumentExcerpt()
An extract of the text in the document.
|
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 |
QueryResultItem.setDocumentExcerpt(TextWithHighlights documentExcerpt)
An extract of the text in the document.
|
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.
|
QueryResultItem |
QueryResultItem.withDocumentExcerpt(TextWithHighlights documentExcerpt)
An extract of the text in the document.
|
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 © 2019. All rights reserved.