Class QueryLogOptions.Builder
java.lang.Object
com.ibm.watson.discovery.v1.model.QueryLogOptions.Builder
- Enclosing class:
 - QueryLogOptions
 
public static class QueryLogOptions.Builder extends Object
Builder.
- 
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder. - 
Method Summary
Modifier and Type Method Description QueryLogOptions.BuilderaddSort(String sort)Adds an sort to sort.QueryLogOptionsbuild()Builds a QueryLogOptions.QueryLogOptions.Buildercount(long count)Set the count.QueryLogOptions.Builderfilter(String filter)Set the filter.QueryLogOptions.Builderoffset(long offset)Set the offset.QueryLogOptions.Builderquery(String query)Set the query.QueryLogOptions.Buildersort(List<String> sort)Set the sort. 
- 
Constructor Details
- 
Builder
public Builder()Instantiates a new builder. 
 - 
 - 
Method Details
- 
build
Builds a QueryLogOptions.- Returns:
 - the new QueryLogOptions instance
 
 - 
addSort
Adds an sort to sort.- Parameters:
 sort- the new sort- Returns:
 - the QueryLogOptions builder
 
 - 
filter
Set the filter.- Parameters:
 filter- the filter- Returns:
 - the QueryLogOptions builder
 
 - 
query
Set the query.- Parameters:
 query- the query- Returns:
 - the QueryLogOptions builder
 
 - 
count
Set the count.- Parameters:
 count- the count- Returns:
 - the QueryLogOptions builder
 
 - 
offset
Set the offset.- Parameters:
 offset- the offset- Returns:
 - the QueryLogOptions builder
 
 - 
sort
Set the sort. Existing sort will be replaced.- Parameters:
 sort- the sort- Returns:
 - the QueryLogOptions builder
 
 
 -