Package com.oracle.bmc.datacatalog.model
Class SearchResultCollection.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.SearchResultCollection.Builder
-
- Enclosing class:
- SearchResultCollection
public static class SearchResultCollection.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchResultCollectionbuild()SearchResultCollection.Buildercopy(SearchResultCollection model)SearchResultCollection.Buildercount(Integer count)Total number of items returned.SearchResultCollection.BuilderfacetedSearchAggregation(List<FacetedSearchAggregation> facetedSearchAggregation)Aggregations/facets on properties of data objects.SearchResultCollection.Builderitems(List<SearchResult> items)Search result set.SearchResultCollection.Builderquery(String query)String that data objects are to be searched with.SearchResultCollection.BuildersortableFields(List<String> sortableFields)A list of fields or properties used in the sorting of a search result.
-
-
-
Method Detail
-
count
public SearchResultCollection.Builder count(Integer count)
Total number of items returned.- Parameters:
count- the value to set- Returns:
- this builder
-
items
public SearchResultCollection.Builder items(List<SearchResult> items)
Search result set.- Parameters:
items- the value to set- Returns:
- this builder
-
query
public SearchResultCollection.Builder query(String query)
String that data objects are to be searched with.- Parameters:
query- the value to set- Returns:
- this builder
-
facetedSearchAggregation
public SearchResultCollection.Builder facetedSearchAggregation(List<FacetedSearchAggregation> facetedSearchAggregation)
Aggregations/facets on properties of data objects.- Parameters:
facetedSearchAggregation- the value to set- Returns:
- this builder
-
sortableFields
public SearchResultCollection.Builder sortableFields(List<String> sortableFields)
A list of fields or properties used in the sorting of a search result.- Parameters:
sortableFields- the value to set- Returns:
- this builder
-
build
public SearchResultCollection build()
-
copy
public SearchResultCollection.Builder copy(SearchResultCollection model)
-
-