public static interface Suggestion.Builder extends SdkPojo, CopyableBuilder<Suggestion.Builder,Suggestion>
| Modifier and Type | Method and Description |
|---|---|
Suggestion.Builder |
id(String id)
The unique UUID (universally unique identifier) of a single query suggestion.
|
default Suggestion.Builder |
value(Consumer<SuggestionValue.Builder> value)
The value for the unique UUID (universally unique identifier) of a single query suggestion.
|
Suggestion.Builder |
value(SuggestionValue value)
The value for the unique UUID (universally unique identifier) of a single query suggestion.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSuggestion.Builder id(String id)
The unique UUID (universally unique identifier) of a single query suggestion.
id - The unique UUID (universally unique identifier) of a single query suggestion.Suggestion.Builder value(SuggestionValue value)
The value for the unique UUID (universally unique identifier) of a single query suggestion.
The value is the text string of a suggestion.
value - The value for the unique UUID (universally unique identifier) of a single query suggestion.
The value is the text string of a suggestion.
default Suggestion.Builder value(Consumer<SuggestionValue.Builder> value)
The value for the unique UUID (universally unique identifier) of a single query suggestion.
The value is the text string of a suggestion.
This is a convenience method that creates an instance of theSuggestionValue.Builder avoiding the
need to create one manually via SuggestionValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to value(SuggestionValue).
value - a consumer that will call methods on SuggestionValue.Buildervalue(SuggestionValue)Copyright © 2022. All rights reserved.