public static class SearchResponse.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SearchResponse |
build() |
SearchResponse.Builder |
copy(SearchResponse model) |
SearchResponse.Builder |
fields(List<FieldInfo> fields)
List of log field schema information.
|
SearchResponse.Builder |
results(List<SearchResult> results)
List of search results
|
SearchResponse.Builder |
summary(SearchResultSummary summary) |
public SearchResponse.Builder results(List<SearchResult> results)
List of search results
results
- the value to setpublic SearchResponse.Builder fields(List<FieldInfo> fields)
List of log field schema information.
fields
- the value to setpublic SearchResponse.Builder summary(SearchResultSummary summary)
public SearchResponse build()
public SearchResponse.Builder copy(SearchResponse model)
Copyright © 2016–2024. All rights reserved.