public class GetAutocompletionOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
GetAutocompletionOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
String |
collectionId()
Gets the collectionId.
|
Long |
count()
Gets the count.
|
String |
environmentId()
Gets the environmentId.
|
String |
field()
Gets the field.
|
GetAutocompletionOptions.Builder |
newBuilder()
New builder.
|
String |
prefix()
Gets the prefix.
|
public GetAutocompletionOptions.Builder newBuilder()
public String environmentId()
The ID of the environment.
public String collectionId()
The ID of the collection.
public String prefix()
The prefix to use for autocompletion. For example, the prefix `Ho` could autocomplete to `Hot`, `Housing`, or `How do I upgrade`. Possible completions are.
public String field()
The field in the result documents that autocompletion suggestions are identified from.
public Long count()
The number of autocompletion suggestions to return.
Copyright © 2021 IBM Cloud. All rights reserved.