| Package | Description |
|---|---|
| com.amazonaws.services.kendra.model |
| Modifier and Type | Method and Description |
|---|---|
Highlight |
Highlight.clone() |
Highlight |
Highlight.withBeginOffset(Integer beginOffset)
The zero-based location in the response string where the highlight starts.
|
Highlight |
Highlight.withEndOffset(Integer endOffset)
The zero-based location in the response string where the highlight ends.
|
Highlight |
Highlight.withTopAnswer(Boolean topAnswer)
Indicates whether the response is the best response.
|
| Modifier and Type | Method and Description |
|---|---|
List<Highlight> |
TextWithHighlights.getHighlights()
The beginning and end of the text that should be highlighted.
|
| Modifier and Type | Method and Description |
|---|---|
TextWithHighlights |
TextWithHighlights.withHighlights(Highlight... highlights)
The beginning and end of the text that should be highlighted.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TextWithHighlights.setHighlights(Collection<Highlight> highlights)
The beginning and end of the text that should be highlighted.
|
TextWithHighlights |
TextWithHighlights.withHighlights(Collection<Highlight> highlights)
The beginning and end of the text that should be highlighted.
|
Copyright © 2019. All rights reserved.