StructuredPojo
, ToCopyableBuilder<Hit.Builder,Hit>
@Generated("software.amazon.awssdk:codegen") public class Hit extends Object implements StructuredPojo, ToCopyableBuilder<Hit.Builder,Hit>
Information about a document that matches the search request.
Modifier and Type | Class | Description |
---|---|---|
static interface |
Hit.Builder |
Modifier and Type | Method | Description |
---|---|---|
static Hit.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
Map<String,String> |
exprs() |
The expressions returned from a document that matches the search request.
|
Map<String,List<String>> |
fields() |
The fields returned from a document that matches the search request.
|
int |
hashCode() |
|
Map<String,String> |
highlights() |
The highlights returned from a document that matches the search request.
|
String |
id() |
The document ID of a document that matches the search request.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends Hit.Builder> |
serializableBuilderClass() |
|
Hit.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String id()
The document ID of a document that matches the search request.
public Map<String,List<String>> fields()
The fields returned from a document that matches the search request.
public Map<String,String> exprs()
The expressions returned from a document that matches the search request.
public Map<String,String> highlights()
The highlights returned from a document that matches the search request.
public Hit.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Hit.Builder,Hit>
public static Hit.Builder builder()
public static Class<? extends Hit.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.