Package com.oracle.bmc.datacatalog.model
Class SuggestResults.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.model.SuggestResults.Builder
-
- Enclosing class:
- SuggestResults
public static class SuggestResults.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SuggestResultsbuild()SuggestResults.Buildercopy(SuggestResults model)SuggestResults.BuilderinputText(String inputText)Input string for which the potential matches are computed.SuggestResults.Builderitems(List<SuggestListItem> items)List of suggestions.SuggestResults.BuildersearchLatencyInMs(Integer searchLatencyInMs)Time taken to compute the result, in milliseconds.SuggestResults.BuildertotalCount(Integer totalCount)Total number of items returned.
-
-
-
Method Detail
-
totalCount
public SuggestResults.Builder totalCount(Integer totalCount)
Total number of items returned.- Parameters:
totalCount- the value to set- Returns:
- this builder
-
searchLatencyInMs
public SuggestResults.Builder searchLatencyInMs(Integer searchLatencyInMs)
Time taken to compute the result, in milliseconds.- Parameters:
searchLatencyInMs- the value to set- Returns:
- this builder
-
inputText
public SuggestResults.Builder inputText(String inputText)
Input string for which the potential matches are computed.- Parameters:
inputText- the value to set- Returns:
- this builder
-
items
public SuggestResults.Builder items(List<SuggestListItem> items)
List of suggestions.- Parameters:
items- the value to set- Returns:
- this builder
-
build
public SuggestResults build()
-
copy
public SuggestResults.Builder copy(SuggestResults model)
-
-