public static class QueryLargePassages.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
QueryLargePassages.Builder |
addFields(String fields)
Adds a new element to fields.
|
QueryLargePassages |
build()
Builds a QueryLargePassages.
|
QueryLargePassages.Builder |
characters(long characters)
Set the characters.
|
QueryLargePassages.Builder |
count(long count)
Set the count.
|
QueryLargePassages.Builder |
enabled(Boolean enabled)
Set the enabled.
|
QueryLargePassages.Builder |
fields(List<String> fields)
Set the fields.
|
QueryLargePassages.Builder |
findAnswers(Boolean findAnswers)
Set the findAnswers.
|
QueryLargePassages.Builder |
maxAnswersPerPassage(long maxAnswersPerPassage)
Set the maxAnswersPerPassage.
|
QueryLargePassages.Builder |
maxPerDocument(long maxPerDocument)
Set the maxPerDocument.
|
QueryLargePassages.Builder |
perDocument(Boolean perDocument)
Set the perDocument.
|
public QueryLargePassages build()
public QueryLargePassages.Builder addFields(String fields)
fields
- the new element to be addedpublic QueryLargePassages.Builder enabled(Boolean enabled)
enabled
- the enabledpublic QueryLargePassages.Builder perDocument(Boolean perDocument)
perDocument
- the perDocumentpublic QueryLargePassages.Builder maxPerDocument(long maxPerDocument)
maxPerDocument
- the maxPerDocumentpublic QueryLargePassages.Builder fields(List<String> fields)
fields
- the fieldspublic QueryLargePassages.Builder count(long count)
count
- the countpublic QueryLargePassages.Builder characters(long characters)
characters
- the characterspublic QueryLargePassages.Builder findAnswers(Boolean findAnswers)
findAnswers
- the findAnswerspublic QueryLargePassages.Builder maxAnswersPerPassage(long maxAnswersPerPassage)
maxAnswersPerPassage
- the maxAnswersPerPassageCopyright © 2024 IBM Cloud. All rights reserved.