public static class FederatedQueryNoticesOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
FederatedQueryNoticesOptions.Builder()
Instantiates a new builder.
|
FederatedQueryNoticesOptions.Builder(java.lang.String environmentId,
java.util.List<java.lang.String> collectionIds)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
FederatedQueryNoticesOptions.Builder |
addCollectionIds(java.lang.String collectionIds)
Adds an collectionIds to collectionIds.
|
FederatedQueryNoticesOptions.Builder |
addReturnField(java.lang.String returnField)
Adds an returnField to xReturn.
|
FederatedQueryNoticesOptions.Builder |
addSimilarDocumentIds(java.lang.String similarDocumentIds)
Adds an similarDocumentIds to similarDocumentIds.
|
FederatedQueryNoticesOptions.Builder |
addSimilarFields(java.lang.String similarFields)
Adds an similarFields to similarFields.
|
FederatedQueryNoticesOptions.Builder |
addSort(java.lang.String sort)
Adds an sort to sort.
|
FederatedQueryNoticesOptions.Builder |
aggregation(java.lang.String aggregation)
Set the aggregation.
|
FederatedQueryNoticesOptions |
build()
Builds a FederatedQueryNoticesOptions.
|
FederatedQueryNoticesOptions.Builder |
collectionIds(java.util.List<java.lang.String> collectionIds)
Set the collectionIds.
|
FederatedQueryNoticesOptions.Builder |
count(long count)
Set the count.
|
FederatedQueryNoticesOptions.Builder |
deduplicateField(java.lang.String deduplicateField)
Set the deduplicateField.
|
FederatedQueryNoticesOptions.Builder |
environmentId(java.lang.String environmentId)
Set the environmentId.
|
FederatedQueryNoticesOptions.Builder |
filter(java.lang.String filter)
Set the filter.
|
FederatedQueryNoticesOptions.Builder |
highlight(java.lang.Boolean highlight)
Set the highlight.
|
FederatedQueryNoticesOptions.Builder |
naturalLanguageQuery(java.lang.String naturalLanguageQuery)
Set the naturalLanguageQuery.
|
FederatedQueryNoticesOptions.Builder |
offset(long offset)
Set the offset.
|
FederatedQueryNoticesOptions.Builder |
query(java.lang.String query)
Set the query.
|
FederatedQueryNoticesOptions.Builder |
similar(java.lang.Boolean similar)
Set the similar.
|
FederatedQueryNoticesOptions.Builder |
similarDocumentIds(java.util.List<java.lang.String> similarDocumentIds)
Set the similarDocumentIds.
|
FederatedQueryNoticesOptions.Builder |
similarFields(java.util.List<java.lang.String> similarFields)
Set the similarFields.
|
FederatedQueryNoticesOptions.Builder |
sort(java.util.List<java.lang.String> sort)
Set the sort.
|
FederatedQueryNoticesOptions.Builder |
xReturn(java.util.List<java.lang.String> xReturn)
Set the xReturn.
|
public FederatedQueryNoticesOptions.Builder()
public FederatedQueryNoticesOptions.Builder(java.lang.String environmentId, java.util.List<java.lang.String> collectionIds)
environmentId
- the environmentIdcollectionIds
- the collectionIdspublic FederatedQueryNoticesOptions build()
public FederatedQueryNoticesOptions.Builder addCollectionIds(java.lang.String collectionIds)
collectionIds
- the new collectionIdspublic FederatedQueryNoticesOptions.Builder addReturnField(java.lang.String returnField)
returnField
- the new returnFieldpublic FederatedQueryNoticesOptions.Builder addSort(java.lang.String sort)
sort
- the new sortpublic FederatedQueryNoticesOptions.Builder addSimilarDocumentIds(java.lang.String similarDocumentIds)
similarDocumentIds
- the new similarDocumentIdspublic FederatedQueryNoticesOptions.Builder addSimilarFields(java.lang.String similarFields)
similarFields
- the new similarFieldspublic FederatedQueryNoticesOptions.Builder environmentId(java.lang.String environmentId)
environmentId
- the environmentIdpublic FederatedQueryNoticesOptions.Builder collectionIds(java.util.List<java.lang.String> collectionIds)
collectionIds
- the collectionIdspublic FederatedQueryNoticesOptions.Builder filter(java.lang.String filter)
filter
- the filterpublic FederatedQueryNoticesOptions.Builder query(java.lang.String query)
query
- the querypublic FederatedQueryNoticesOptions.Builder naturalLanguageQuery(java.lang.String naturalLanguageQuery)
naturalLanguageQuery
- the naturalLanguageQuerypublic FederatedQueryNoticesOptions.Builder aggregation(java.lang.String aggregation)
aggregation
- the aggregationpublic FederatedQueryNoticesOptions.Builder count(long count)
count
- the countpublic FederatedQueryNoticesOptions.Builder xReturn(java.util.List<java.lang.String> xReturn)
xReturn
- the xReturnpublic FederatedQueryNoticesOptions.Builder offset(long offset)
offset
- the offsetpublic FederatedQueryNoticesOptions.Builder sort(java.util.List<java.lang.String> sort)
sort
- the sortpublic FederatedQueryNoticesOptions.Builder highlight(java.lang.Boolean highlight)
highlight
- the highlightpublic FederatedQueryNoticesOptions.Builder deduplicateField(java.lang.String deduplicateField)
deduplicateField
- the deduplicateFieldpublic FederatedQueryNoticesOptions.Builder similar(java.lang.Boolean similar)
similar
- the similarpublic FederatedQueryNoticesOptions.Builder similarDocumentIds(java.util.List<java.lang.String> similarDocumentIds)
similarDocumentIds
- the similarDocumentIdspublic FederatedQueryNoticesOptions.Builder similarFields(java.util.List<java.lang.String> similarFields)
similarFields
- the similarFields