public static class GetAutocompletionOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
GetAutocompletionOptions.Builder()
Instantiates a new builder.
|
GetAutocompletionOptions.Builder(java.lang.String projectId,
java.lang.String prefix)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
GetAutocompletionOptions.Builder |
addCollectionIds(java.lang.String collectionIds)
Adds an collectionIds to collectionIds.
|
GetAutocompletionOptions |
build()
Builds a GetAutocompletionOptions.
|
GetAutocompletionOptions.Builder |
collectionIds(java.util.List<java.lang.String> collectionIds)
Set the collectionIds.
|
GetAutocompletionOptions.Builder |
count(long count)
Set the count.
|
GetAutocompletionOptions.Builder |
field(java.lang.String field)
Set the field.
|
GetAutocompletionOptions.Builder |
prefix(java.lang.String prefix)
Set the prefix.
|
GetAutocompletionOptions.Builder |
projectId(java.lang.String projectId)
Set the projectId.
|
public GetAutocompletionOptions.Builder()
public GetAutocompletionOptions.Builder(java.lang.String projectId, java.lang.String prefix)
projectId
- the projectIdprefix
- the prefixpublic GetAutocompletionOptions build()
public GetAutocompletionOptions.Builder addCollectionIds(java.lang.String collectionIds)
collectionIds
- the new collectionIdspublic GetAutocompletionOptions.Builder projectId(java.lang.String projectId)
projectId
- the projectIdpublic GetAutocompletionOptions.Builder prefix(java.lang.String prefix)
prefix
- the prefixpublic GetAutocompletionOptions.Builder collectionIds(java.util.List<java.lang.String> collectionIds)
collectionIds
- the collectionIdspublic GetAutocompletionOptions.Builder field(java.lang.String field)
field
- the fieldpublic GetAutocompletionOptions.Builder count(long count)
count
- the count