Uses of Interface
software.amazon.awssdk.services.kendra.model.TextWithHighlights.Builder
-
Packages that use TextWithHighlights.Builder Package Description software.amazon.awssdk.services.kendra.model -
-
Uses of TextWithHighlights.Builder in software.amazon.awssdk.services.kendra.model
Methods in software.amazon.awssdk.services.kendra.model that return TextWithHighlights.Builder Modifier and Type Method Description static TextWithHighlights.BuilderTextWithHighlights. builder()TextWithHighlights.BuilderTextWithHighlights.Builder. highlights(Collection<Highlight> highlights)The beginning and end of the text that should be highlighted.TextWithHighlights.BuilderTextWithHighlights.Builder. highlights(Consumer<Highlight.Builder>... highlights)The beginning and end of the text that should be highlighted.TextWithHighlights.BuilderTextWithHighlights.Builder. highlights(Highlight... highlights)The beginning and end of the text that should be highlighted.TextWithHighlights.BuilderTextWithHighlights.Builder. text(String text)The text to display to the user.TextWithHighlights.BuilderTextWithHighlights. toBuilder()Methods in software.amazon.awssdk.services.kendra.model that return types with arguments of type TextWithHighlights.Builder Modifier and Type Method Description static Class<? extends TextWithHighlights.Builder>TextWithHighlights. serializableBuilderClass()Method parameters in software.amazon.awssdk.services.kendra.model with type arguments of type TextWithHighlights.Builder Modifier and Type Method Description default ExpandedResultItem.BuilderExpandedResultItem.Builder. documentExcerpt(Consumer<TextWithHighlights.Builder> documentExcerpt)Sets the value of the DocumentExcerpt property for this object.default FeaturedResultsItem.BuilderFeaturedResultsItem.Builder. documentExcerpt(Consumer<TextWithHighlights.Builder> documentExcerpt)Sets the value of the DocumentExcerpt property for this object.default QueryResultItem.BuilderQueryResultItem.Builder. documentExcerpt(Consumer<TextWithHighlights.Builder> documentExcerpt)An extract of the text in the document.default ExpandedResultItem.BuilderExpandedResultItem.Builder. documentTitle(Consumer<TextWithHighlights.Builder> documentTitle)Sets the value of the DocumentTitle property for this object.default FeaturedResultsItem.BuilderFeaturedResultsItem.Builder. documentTitle(Consumer<TextWithHighlights.Builder> documentTitle)Sets the value of the DocumentTitle property for this object.default QueryResultItem.BuilderQueryResultItem.Builder. documentTitle(Consumer<TextWithHighlights.Builder> documentTitle)The title of the document.default AdditionalResultAttributeValue.BuilderAdditionalResultAttributeValue.Builder. textWithHighlightsValue(Consumer<TextWithHighlights.Builder> textWithHighlightsValue)The text associated with the attribute and information about the highlight to apply to the text.
-