Interface Hit.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Hit.Builder,Hit>,SdkBuilder<Hit.Builder,Hit>,SdkPojo
- Enclosing class:
- Hit
public static interface Hit.Builder extends SdkPojo, CopyableBuilder<Hit.Builder,Hit>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Hit.Builderexprs(Map<String,String> exprs)The expressions returned from a document that matches the search request.Hit.Builderfields(Map<String,? extends Collection<String>> fields)The fields returned from a document that matches the search request.Hit.Builderhighlights(Map<String,String> highlights)The highlights returned from a document that matches the search request.Hit.Builderid(String id)The document ID of a document that matches the search request.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
Hit.Builder id(String id)
The document ID of a document that matches the search request.
- Parameters:
id- The document ID of a document that matches the search request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fields
Hit.Builder fields(Map<String,? extends Collection<String>> fields)
The fields returned from a document that matches the search request.
- Parameters:
fields- The fields returned from a document that matches the search request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exprs
Hit.Builder exprs(Map<String,String> exprs)
The expressions returned from a document that matches the search request.
- Parameters:
exprs- The expressions returned from a document that matches the search request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
highlights
Hit.Builder highlights(Map<String,String> highlights)
The highlights returned from a document that matches the search request.
- Parameters:
highlights- The highlights returned from a document that matches the search request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-