CopyableBuilder<Hit.Builder,Hit>
, SdkBuilder<Hit.Builder,Hit>
public static interface Hit.Builder extends CopyableBuilder<Hit.Builder,Hit>
Modifier and Type | Method | Description |
---|---|---|
Hit.Builder |
exprs(Map<String,String> exprs) |
The expressions returned from a document that matches the search request.
|
Hit.Builder |
fields(Map<String,? extends Collection<String>> fields) |
The fields returned from a document that matches the search request.
|
Hit.Builder |
highlights(Map<String,String> highlights) |
The highlights returned from a document that matches the search request.
|
Hit.Builder |
id(String id) |
The document ID of a document that matches the search request.
|
copy
apply, build
Hit.Builder id(String id)
The document ID of a document that matches the search request.
id
- The document ID of a document that matches the search request.Hit.Builder fields(Map<String,? extends Collection<String>> fields)
The fields returned from a document that matches the search request.
fields
- The fields returned from a document that matches the search request.Hit.Builder exprs(Map<String,String> exprs)
The expressions returned from a document that matches the search request.
exprs
- The expressions returned from a document that matches the search request.Hit.Builder highlights(Map<String,String> highlights)
The highlights returned from a document that matches the search request.
highlights
- The highlights returned from a document that matches the search request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.