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