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.util.List<java.lang.String> |
collectionIds |
protected java.lang.Long |
count |
protected java.lang.String |
field |
protected java.lang.String |
prefix |
protected java.lang.String |
projectId |
Modifier | Constructor and Description |
---|---|
protected |
GetAutocompletionOptions(GetAutocompletionOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
collectionIds()
Gets the collectionIds.
|
java.lang.Long |
count()
Gets the count.
|
java.lang.String |
field()
Gets the field.
|
GetAutocompletionOptions.Builder |
newBuilder()
New builder.
|
java.lang.String |
prefix()
Gets the prefix.
|
java.lang.String |
projectId()
Gets the projectId.
|
protected java.lang.String projectId
protected java.lang.String prefix
protected java.util.List<java.lang.String> collectionIds
protected java.lang.String field
protected java.lang.Long count
protected GetAutocompletionOptions(GetAutocompletionOptions.Builder builder)
public GetAutocompletionOptions.Builder newBuilder()
public java.lang.String projectId()
The ID of the project. This information can be found from the deploy page of the Discovery administrative tooling.
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.util.List<java.lang.String> collectionIds()
Comma separated list of the collection IDs. If this parameter is not specified, all collections in the project are used.
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.