public static class GetAutocompletionOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String environmentId,
String collectionId,
String prefix)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
GetAutocompletionOptions |
build()
Builds a GetAutocompletionOptions.
|
GetAutocompletionOptions.Builder |
collectionId(String collectionId)
Set the collectionId.
|
GetAutocompletionOptions.Builder |
count(long count)
Set the count.
|
GetAutocompletionOptions.Builder |
environmentId(String environmentId)
Set the environmentId.
|
GetAutocompletionOptions.Builder |
field(String field)
Set the field.
|
GetAutocompletionOptions.Builder |
prefix(String prefix)
Set the prefix.
|
public GetAutocompletionOptions build()
public GetAutocompletionOptions.Builder environmentId(String environmentId)
environmentId
- the environmentIdpublic GetAutocompletionOptions.Builder collectionId(String collectionId)
collectionId
- the collectionIdpublic GetAutocompletionOptions.Builder prefix(String prefix)
prefix
- the prefixpublic GetAutocompletionOptions.Builder field(String field)
field
- the fieldpublic GetAutocompletionOptions.Builder count(long count)
count
- the countCopyright © 2021 IBM Cloud. All rights reserved.