public static class FederatedQueryOptions.Builder
extends java.lang.Object
| Constructor and Description | 
|---|
FederatedQueryOptions.Builder()
Instantiates a new builder. 
 | 
FederatedQueryOptions.Builder(java.lang.String environmentId)
Instantiates a new builder with required properties. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
FederatedQueryOptions.Builder | 
addCollectionIds(java.lang.String collectionIds)
Deprecated. 
 
collectionIds is now of type String, so this method will be removed in the next major release 
 | 
FederatedQueryOptions.Builder | 
addPassagesFields(java.lang.String passagesFields)
Deprecated. 
 
passagesFields is now of type String, so this method will be removed in the next major release 
 | 
FederatedQueryOptions.Builder | 
addReturnField(java.lang.String returnField)
Deprecated. 
 
returnFields is now of type String, so this method will be removed in the next major release 
 | 
FederatedQueryOptions.Builder | 
addSimilarDocumentIds(java.lang.String similarDocumentIds)
Deprecated. 
 
similarDocumentIds is now of type String, so this method will be removed in the next major release 
 | 
FederatedQueryOptions.Builder | 
addSimilarFields(java.lang.String similarFields)
Deprecated. 
 
similarFields is now of type String, so this method will be removed in the next major release 
 | 
FederatedQueryOptions.Builder | 
addSort(java.lang.String sort)
Deprecated. 
 
sort is now of type String, so this method will be removed in the next major release 
 | 
FederatedQueryOptions.Builder | 
aggregation(java.lang.String aggregation)
Set the aggregation. 
 | 
FederatedQueryOptions.Builder | 
bias(java.lang.String bias)
Set the bias. 
 | 
FederatedQueryOptions | 
build()
Builds a FederatedQueryOptions. 
 | 
FederatedQueryOptions.Builder | 
collectionIds(java.util.List<java.lang.String> collectionIds)
Deprecated. 
 
This parameter is now officially of type String. Please set this as a comma-separated String with
 the other setter. 
 | 
FederatedQueryOptions.Builder | 
collectionIds(java.lang.String collectionIds)
Set the collectionIds. 
 | 
FederatedQueryOptions.Builder | 
count(long count)
Set the count. 
 | 
FederatedQueryOptions.Builder | 
deduplicate(java.lang.Boolean deduplicate)
Set the deduplicate. 
 | 
FederatedQueryOptions.Builder | 
deduplicateField(java.lang.String deduplicateField)
Set the deduplicateField. 
 | 
FederatedQueryOptions.Builder | 
environmentId(java.lang.String environmentId)
Set the environmentId. 
 | 
FederatedQueryOptions.Builder | 
filter(java.lang.String filter)
Set the filter. 
 | 
FederatedQueryOptions.Builder | 
highlight(java.lang.Boolean highlight)
Set the highlight. 
 | 
FederatedQueryOptions.Builder | 
loggingOptOut(java.lang.Boolean loggingOptOut)
Set the loggingOptOut. 
 | 
FederatedQueryOptions.Builder | 
naturalLanguageQuery(java.lang.String naturalLanguageQuery)
Set the naturalLanguageQuery. 
 | 
FederatedQueryOptions.Builder | 
offset(long offset)
Set the offset. 
 | 
FederatedQueryOptions.Builder | 
passages(java.lang.Boolean passages)
Set the passages. 
 | 
FederatedQueryOptions.Builder | 
passagesCharacters(long passagesCharacters)
Set the passagesCharacters. 
 | 
FederatedQueryOptions.Builder | 
passagesCount(long passagesCount)
Set the passagesCount. 
 | 
FederatedQueryOptions.Builder | 
passagesFields(java.util.List<java.lang.String> passagesFields)
Deprecated. 
 
This parameter is now officially of type String. Please set this as a comma-separated String with
 the other setter. 
 | 
FederatedQueryOptions.Builder | 
passagesFields(java.lang.String passagesFields)
Set the passagesFields. 
 | 
FederatedQueryOptions.Builder | 
query(java.lang.String query)
Set the query. 
 | 
FederatedQueryOptions.Builder | 
returnFields(java.util.List<java.lang.String> returnFields)
Deprecated. 
 
This parameter is now officially of type String. Please set this as a comma-separated String with
 the other setter. 
 | 
FederatedQueryOptions.Builder | 
returnFields(java.lang.String returnFields)
Set the returnFields. 
 | 
FederatedQueryOptions.Builder | 
similar(java.lang.Boolean similar)
Set the similar. 
 | 
FederatedQueryOptions.Builder | 
similarDocumentIds(java.util.List<java.lang.String> similarDocumentIds)
Deprecated. 
 
This parameter is now officially of type String. Please set this as a comma-separated String with
 the other setter. 
 | 
FederatedQueryOptions.Builder | 
similarDocumentIds(java.lang.String similarDocumentIds)
Set the similarDocumentIds. 
 | 
FederatedQueryOptions.Builder | 
similarFields(java.util.List<java.lang.String> similarFields)
Deprecated. 
 
This parameter is now officially of type String. Please set this as a comma-separated String with
 the other setter. 
 | 
FederatedQueryOptions.Builder | 
similarFields(java.lang.String similarFields)
Set the similarFields. 
 | 
FederatedQueryOptions.Builder | 
sort(java.util.List<java.lang.String> sort)
Deprecated. 
 
This parameter is now officially of type String. Please set this as a comma-separated String with
 the other setter. 
 | 
FederatedQueryOptions.Builder | 
sort(java.lang.String sort)
Set the sort. 
 | 
public FederatedQueryOptions.Builder()
public FederatedQueryOptions.Builder(java.lang.String environmentId)
environmentId - the environmentIdpublic FederatedQueryOptions build()
public FederatedQueryOptions.Builder addReturnField(java.lang.String returnField)
returnField - the new returnFieldpublic FederatedQueryOptions.Builder addSort(java.lang.String sort)
sort - the new sortpublic FederatedQueryOptions.Builder addPassagesFields(java.lang.String passagesFields)
passagesFields - the new passagesFieldspublic FederatedQueryOptions.Builder addCollectionIds(java.lang.String collectionIds)
collectionIds - the new collectionIdspublic FederatedQueryOptions.Builder addSimilarDocumentIds(java.lang.String similarDocumentIds)
similarDocumentIds - the new similarDocumentIdspublic FederatedQueryOptions.Builder addSimilarFields(java.lang.String similarFields)
similarFields - the new similarFieldspublic FederatedQueryOptions.Builder environmentId(java.lang.String environmentId)
environmentId - the environmentIdpublic FederatedQueryOptions.Builder filter(java.lang.String filter)
filter - the filterpublic FederatedQueryOptions.Builder query(java.lang.String query)
query - the querypublic FederatedQueryOptions.Builder naturalLanguageQuery(java.lang.String naturalLanguageQuery)
naturalLanguageQuery - the naturalLanguageQuerypublic FederatedQueryOptions.Builder passages(java.lang.Boolean passages)
passages - the passagespublic FederatedQueryOptions.Builder aggregation(java.lang.String aggregation)
aggregation - the aggregationpublic FederatedQueryOptions.Builder count(long count)
count - the countpublic FederatedQueryOptions.Builder returnFields(java.lang.String returnFields)
returnFields - the returnFieldspublic FederatedQueryOptions.Builder returnFields(java.util.List<java.lang.String> returnFields)
returnFields - the returnFieldspublic FederatedQueryOptions.Builder offset(long offset)
offset - the offsetpublic FederatedQueryOptions.Builder sort(java.lang.String sort)
sort - the sortpublic FederatedQueryOptions.Builder sort(java.util.List<java.lang.String> sort)
sort - the sortpublic FederatedQueryOptions.Builder highlight(java.lang.Boolean highlight)
highlight - the highlightpublic FederatedQueryOptions.Builder passagesFields(java.lang.String passagesFields)
passagesFields - the passagesFieldspublic FederatedQueryOptions.Builder passagesFields(java.util.List<java.lang.String> passagesFields)
passagesFields - the passagesFieldspublic FederatedQueryOptions.Builder passagesCount(long passagesCount)
passagesCount - the passagesCountpublic FederatedQueryOptions.Builder passagesCharacters(long passagesCharacters)
passagesCharacters - the passagesCharacterspublic FederatedQueryOptions.Builder deduplicate(java.lang.Boolean deduplicate)
deduplicate - the deduplicatepublic FederatedQueryOptions.Builder deduplicateField(java.lang.String deduplicateField)
deduplicateField - the deduplicateFieldpublic FederatedQueryOptions.Builder collectionIds(java.lang.String collectionIds)
collectionIds - the collectionIdspublic FederatedQueryOptions.Builder collectionIds(java.util.List<java.lang.String> collectionIds)
collectionIds - the collectionIdspublic FederatedQueryOptions.Builder similar(java.lang.Boolean similar)
similar - the similarpublic FederatedQueryOptions.Builder similarDocumentIds(java.lang.String similarDocumentIds)
similarDocumentIds - the similarDocumentIdspublic FederatedQueryOptions.Builder similarDocumentIds(java.util.List<java.lang.String> similarDocumentIds)
similarDocumentIds - the similarDocumentIdspublic FederatedQueryOptions.Builder similarFields(java.lang.String similarFields)
similarFields - the similarFieldspublic FederatedQueryOptions.Builder similarFields(java.util.List<java.lang.String> similarFields)
similarFields - the similarFieldspublic FederatedQueryOptions.Builder bias(java.lang.String bias)
bias - the biaspublic FederatedQueryOptions.Builder loggingOptOut(java.lang.Boolean loggingOptOut)
loggingOptOut - the loggingOptOut