public static class QueryLogOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
QueryLogOptions.Builder |
addSort(String sort)
Adds a new element to sort.
|
QueryLogOptions |
build()
Builds a QueryLogOptions.
|
QueryLogOptions.Builder |
count(long count)
Set the count.
|
QueryLogOptions.Builder |
filter(String filter)
Set the filter.
|
QueryLogOptions.Builder |
offset(long offset)
Set the offset.
|
QueryLogOptions.Builder |
query(String query)
Set the query.
|
QueryLogOptions.Builder |
sort(List<String> sort)
Set the sort.
|
public QueryLogOptions build()
public QueryLogOptions.Builder addSort(String sort)
sort
- the new element to be addedpublic QueryLogOptions.Builder filter(String filter)
filter
- the filterpublic QueryLogOptions.Builder query(String query)
query
- the querypublic QueryLogOptions.Builder count(long count)
count
- the countpublic QueryLogOptions.Builder offset(long offset)
offset
- the offsetpublic QueryLogOptions.Builder sort(List<String> sort)
sort
- the sortCopyright © 2024 IBM Cloud. All rights reserved.