Package com.dropbox.core.v2.files
Class SearchV2Builder
- java.lang.Object
-
- com.dropbox.core.v2.files.SearchV2Builder
-
public class SearchV2Builder extends java.lang.ObjectThe request builder returned byDbxUserFilesRequests.searchV2Builder(java.lang.String).Use this class to set optional request parameters and complete the request.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchV2Resultstart()Issues the request.SearchV2BuilderwithIncludeHighlights(java.lang.Boolean includeHighlights)Set value for optional field.SearchV2BuilderwithMatchFieldOptions(SearchMatchFieldOptions matchFieldOptions)Set value for optional field.SearchV2BuilderwithOptions(SearchOptions options)Set value for optional field.
-
-
-
Method Detail
-
withOptions
public SearchV2Builder withOptions(SearchOptions options)
Set value for optional field.- Parameters:
options- Options for more targeted search results.- Returns:
- this builder
-
withMatchFieldOptions
public SearchV2Builder withMatchFieldOptions(SearchMatchFieldOptions matchFieldOptions)
Set value for optional field.- Parameters:
matchFieldOptions- Options for search results match fields.- Returns:
- this builder
-
withIncludeHighlights
public SearchV2Builder withIncludeHighlights(java.lang.Boolean includeHighlights)
Set value for optional field.- Parameters:
includeHighlights- Deprecated and moved this option to SearchMatchFieldOptions.- Returns:
- this builder
-
start
public SearchV2Result start() throws SearchErrorException, DbxException
Issues the request.- Throws:
SearchErrorExceptionDbxException
-
-