@Generated(value="software.amazon.awssdk:codegen") public final class Highlight extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Highlight.Builder,Highlight>
Offset specification to describe highlighting of document excerpts for rendering search results and recommendations.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Highlight.Builder |
| Modifier and Type | Method and Description |
|---|---|
Integer |
beginOffsetInclusive()
The offset for the start of the highlight.
|
static Highlight.Builder |
builder() |
Integer |
endOffsetExclusive()
The offset for the end of the highlight.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Highlight.Builder> |
serializableBuilderClass() |
Highlight.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Integer beginOffsetInclusive()
The offset for the start of the highlight.
public final Integer endOffsetExclusive()
The offset for the end of the highlight.
public Highlight.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Highlight.Builder,Highlight>public static Highlight.Builder builder()
public static Class<? extends Highlight.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.