Class Highlight
- java.lang.Object
-
- software.amazon.awssdk.services.geoplaces.model.Highlight
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Highlight.Builder,Highlight>
@Generated("software.amazon.awssdk:codegen") public final class Highlight extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Highlight.Builder,Highlight>
Describes how parts of the result response match the input query.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceHighlight.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Highlight.Builderbuilder()IntegerendIndex()End index of the highlight.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Highlight.Builder>serializableBuilderClass()IntegerstartIndex()Start index of the highlight.Highlight.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringvalue()The highlight's value.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
startIndex
public final Integer startIndex()
Start index of the highlight.
- Returns:
- Start index of the highlight.
-
endIndex
public final Integer endIndex()
End index of the highlight.
- Returns:
- End index of the highlight.
-
value
public final String value()
The highlight's value.
- Returns:
- The highlight's value.
-
toBuilder
public Highlight.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Highlight.Builder,Highlight>
-
builder
public static Highlight.Builder builder()
-
serializableBuilderClass
public static Class<? extends Highlight.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-