public static class FederatedQueryNoticesOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String environmentId,
List<String> collectionIds)
Instantiates a new builder with required properties.
|
public FederatedQueryNoticesOptions build()
public FederatedQueryNoticesOptions.Builder addCollectionIds(String collectionIds)
collectionIds
- the new collectionIdspublic FederatedQueryNoticesOptions.Builder addReturnField(String returnField)
returnField
- the new returnFieldpublic FederatedQueryNoticesOptions.Builder addSort(String sort)
sort
- the new sortpublic FederatedQueryNoticesOptions.Builder addSimilarDocumentIds(String similarDocumentIds)
similarDocumentIds
- the new similarDocumentIdspublic FederatedQueryNoticesOptions.Builder addSimilarFields(String similarFields)
similarFields
- the new similarFieldspublic FederatedQueryNoticesOptions.Builder environmentId(String environmentId)
environmentId
- the environmentIdpublic FederatedQueryNoticesOptions.Builder collectionIds(List<String> collectionIds)
collectionIds
- the collectionIdspublic FederatedQueryNoticesOptions.Builder filter(String filter)
filter
- the filterpublic FederatedQueryNoticesOptions.Builder query(String query)
query
- the querypublic FederatedQueryNoticesOptions.Builder naturalLanguageQuery(String naturalLanguageQuery)
naturalLanguageQuery
- the naturalLanguageQuerypublic FederatedQueryNoticesOptions.Builder aggregation(String aggregation)
aggregation
- the aggregationpublic FederatedQueryNoticesOptions.Builder count(long count)
count
- the countpublic FederatedQueryNoticesOptions.Builder xReturn(List<String> xReturn)
xReturn
- the xReturnpublic FederatedQueryNoticesOptions.Builder offset(long offset)
offset
- the offsetpublic FederatedQueryNoticesOptions.Builder sort(List<String> sort)
sort
- the sortpublic FederatedQueryNoticesOptions.Builder highlight(Boolean highlight)
highlight
- the highlightpublic FederatedQueryNoticesOptions.Builder deduplicateField(String deduplicateField)
deduplicateField
- the deduplicateFieldpublic FederatedQueryNoticesOptions.Builder similar(Boolean similar)
similar
- the similarpublic FederatedQueryNoticesOptions.Builder similarDocumentIds(List<String> similarDocumentIds)
similarDocumentIds
- the similarDocumentIdspublic FederatedQueryNoticesOptions.Builder similarFields(List<String> similarFields)
similarFields
- the similarFieldsCopyright © 2021 IBM Cloud. All rights reserved.