public static class QueryLargeSimilar.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
QueryLargeSimilar.Builder |
addDocumentIds(String documentIds)
Adds a new element to documentIds.
|
QueryLargeSimilar.Builder |
addFields(String fields)
Adds a new element to fields.
|
QueryLargeSimilar |
build()
Builds a QueryLargeSimilar.
|
QueryLargeSimilar.Builder |
documentIds(List<String> documentIds)
Set the documentIds.
|
QueryLargeSimilar.Builder |
enabled(Boolean enabled)
Set the enabled.
|
QueryLargeSimilar.Builder |
fields(List<String> fields)
Set the fields.
|
public QueryLargeSimilar build()
public QueryLargeSimilar.Builder addDocumentIds(String documentIds)
documentIds
- the new element to be addedpublic QueryLargeSimilar.Builder addFields(String fields)
fields
- the new element to be addedpublic QueryLargeSimilar.Builder enabled(Boolean enabled)
enabled
- the enabledpublic QueryLargeSimilar.Builder documentIds(List<String> documentIds)
documentIds
- the documentIdspublic QueryLargeSimilar.Builder fields(List<String> fields)
fields
- the fieldsCopyright © 2024 IBM Cloud. All rights reserved.