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 | Field and Description |
---|---|
protected java.lang.String |
collectionId |
protected java.lang.Long |
count |
protected java.lang.String |
environmentId |
protected java.lang.String |
field |
protected java.lang.String |
prefix |
Modifier | Constructor and Description |
---|---|
protected |
GetAutocompletionOptions(GetAutocompletionOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
collectionId()
Gets the collectionId.
|
java.lang.Long |
count()
Gets the count.
|
java.lang.String |
environmentId()
Gets the environmentId.
|
java.lang.String |
field()
Gets the field.
|
GetAutocompletionOptions.Builder |
newBuilder()
New builder.
|
java.lang.String |
prefix()
Gets the prefix.
|
protected java.lang.String environmentId
protected java.lang.String collectionId
protected java.lang.String prefix
protected java.lang.String field
protected java.lang.Long count
protected GetAutocompletionOptions(GetAutocompletionOptions.Builder builder)
public GetAutocompletionOptions.Builder newBuilder()
public java.lang.String environmentId()
The ID of the environment.
public java.lang.String collectionId()
The ID of the collection.
public java.lang.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 java.lang.String field()
The field in the result documents that autocompletion suggestions are identified from.
public java.lang.Long count()
The number of autocompletion suggestions to return.