public static class GetAutocompletionOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
GetAutocompletionOptions.Builder()
Instantiates a new builder.
|
GetAutocompletionOptions.Builder(java.lang.String environmentId,
java.lang.String collectionId,
java.lang.String prefix)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
GetAutocompletionOptions |
build()
Builds a GetAutocompletionOptions.
|
GetAutocompletionOptions.Builder |
collectionId(java.lang.String collectionId)
Set the collectionId.
|
GetAutocompletionOptions.Builder |
count(long count)
Set the count.
|
GetAutocompletionOptions.Builder |
environmentId(java.lang.String environmentId)
Set the environmentId.
|
GetAutocompletionOptions.Builder |
field(java.lang.String field)
Set the field.
|
GetAutocompletionOptions.Builder |
prefix(java.lang.String prefix)
Set the prefix.
|
public GetAutocompletionOptions.Builder()
public GetAutocompletionOptions.Builder(java.lang.String environmentId, java.lang.String collectionId, java.lang.String prefix)
environmentId
- the environmentIdcollectionId
- the collectionIdprefix
- the prefixpublic GetAutocompletionOptions build()
public GetAutocompletionOptions.Builder environmentId(java.lang.String environmentId)
environmentId
- the environmentIdpublic GetAutocompletionOptions.Builder collectionId(java.lang.String collectionId)
collectionId
- the collectionIdpublic GetAutocompletionOptions.Builder prefix(java.lang.String prefix)
prefix
- the prefixpublic GetAutocompletionOptions.Builder field(java.lang.String field)
field
- the fieldpublic GetAutocompletionOptions.Builder count(long count)
count
- the count