public static class DefaultQueryParamsPassages.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
DefaultQueryParamsPassages.Builder |
addFields(String fields)
Adds an fields to fields.
|
DefaultQueryParamsPassages |
build()
Builds a DefaultQueryParamsPassages.
|
DefaultQueryParamsPassages.Builder |
characters(long characters)
Set the characters.
|
DefaultQueryParamsPassages.Builder |
count(long count)
Set the count.
|
DefaultQueryParamsPassages.Builder |
enabled(Boolean enabled)
Set the enabled.
|
DefaultQueryParamsPassages.Builder |
fields(List<String> fields)
Set the fields.
|
DefaultQueryParamsPassages.Builder |
maxPerDocument(long maxPerDocument)
Set the maxPerDocument.
|
DefaultQueryParamsPassages.Builder |
perDocument(Boolean perDocument)
Set the perDocument.
|
public DefaultQueryParamsPassages build()
public DefaultQueryParamsPassages.Builder addFields(String fields)
fields
- the new fieldspublic DefaultQueryParamsPassages.Builder enabled(Boolean enabled)
enabled
- the enabledpublic DefaultQueryParamsPassages.Builder count(long count)
count
- the countpublic DefaultQueryParamsPassages.Builder fields(List<String> fields)
fields
- the fieldspublic DefaultQueryParamsPassages.Builder characters(long characters)
characters
- the characterspublic DefaultQueryParamsPassages.Builder perDocument(Boolean perDocument)
perDocument
- the perDocumentpublic DefaultQueryParamsPassages.Builder maxPerDocument(long maxPerDocument)
maxPerDocument
- the maxPerDocumentCopyright © 2022 IBM Cloud. All rights reserved.