public static class DefaultQueryParamsPassages.Builder
extends java.lang.Object
Constructor and Description |
---|
DefaultQueryParamsPassages.Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
DefaultQueryParamsPassages.Builder |
addFields(java.lang.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(java.lang.Boolean enabled)
Set the enabled.
|
DefaultQueryParamsPassages.Builder |
fields(java.util.List<java.lang.String> fields)
Set the fields.
|
DefaultQueryParamsPassages.Builder |
maxPerDocument(long maxPerDocument)
Set the maxPerDocument.
|
DefaultQueryParamsPassages.Builder |
perDocument(java.lang.Boolean perDocument)
Set the perDocument.
|
public DefaultQueryParamsPassages.Builder()
public DefaultQueryParamsPassages build()
public DefaultQueryParamsPassages.Builder addFields(java.lang.String fields)
fields
- the new fieldspublic DefaultQueryParamsPassages.Builder enabled(java.lang.Boolean enabled)
enabled
- the enabledpublic DefaultQueryParamsPassages.Builder count(long count)
count
- the countpublic DefaultQueryParamsPassages.Builder fields(java.util.List<java.lang.String> fields)
fields
- the fieldspublic DefaultQueryParamsPassages.Builder characters(long characters)
characters
- the characterspublic DefaultQueryParamsPassages.Builder perDocument(java.lang.Boolean perDocument)
perDocument
- the perDocumentpublic DefaultQueryParamsPassages.Builder maxPerDocument(long maxPerDocument)
maxPerDocument
- the maxPerDocument