public static class GetAutocompletionOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String projectId,
String prefix)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
GetAutocompletionOptions.Builder |
addCollectionIds(String collectionIds)
Adds an collectionIds to collectionIds.
|
GetAutocompletionOptions |
build()
Builds a GetAutocompletionOptions.
|
GetAutocompletionOptions.Builder |
collectionIds(List<String> collectionIds)
Set the collectionIds.
|
GetAutocompletionOptions.Builder |
count(long count)
Set the count.
|
GetAutocompletionOptions.Builder |
field(String field)
Set the field.
|
GetAutocompletionOptions.Builder |
prefix(String prefix)
Set the prefix.
|
GetAutocompletionOptions.Builder |
projectId(String projectId)
Set the projectId.
|
public GetAutocompletionOptions build()
public GetAutocompletionOptions.Builder addCollectionIds(String collectionIds)
collectionIds
- the new collectionIdspublic GetAutocompletionOptions.Builder projectId(String projectId)
projectId
- the projectIdpublic GetAutocompletionOptions.Builder prefix(String prefix)
prefix
- the prefixpublic GetAutocompletionOptions.Builder collectionIds(List<String> collectionIds)
collectionIds
- the collectionIdspublic GetAutocompletionOptions.Builder field(String field)
field
- the fieldpublic GetAutocompletionOptions.Builder count(long count)
count
- the countCopyright © 2022 IBM Cloud. All rights reserved.