public class SearchV2Builder
extends java.lang.Object
DbxUserFilesRequests.searchV2Builder(java.lang.String)
.
Use this class to set optional request parameters and complete the request.
Modifier and Type | Method and Description |
---|---|
SearchV2Result |
start()
Issues the request.
|
SearchV2Builder |
withIncludeHighlights(java.lang.Boolean includeHighlights)
Set value for optional field.
|
SearchV2Builder |
withMatchFieldOptions(SearchMatchFieldOptions matchFieldOptions)
Set value for optional field.
|
SearchV2Builder |
withOptions(SearchOptions options)
Set value for optional field.
|
public SearchV2Builder withOptions(SearchOptions options)
options
- Options for more targeted search results.public SearchV2Builder withMatchFieldOptions(SearchMatchFieldOptions matchFieldOptions)
matchFieldOptions
- Options for search results match fields.public SearchV2Builder withIncludeHighlights(java.lang.Boolean includeHighlights)
If left unset or set to null
, defaults to false
.
includeHighlights
- Deprecated and moved this option to
SearchMatchFieldOptions. Defaults to false
when set to null
.public SearchV2Result start() throws SearchErrorException, DbxException
SearchErrorException
DbxException