public static interface RuntimeHintDetails.Builder extends SdkPojo, CopyableBuilder<RuntimeHintDetails.Builder,RuntimeHintDetails>
| Modifier and Type | Method and Description |
|---|---|
RuntimeHintDetails.Builder |
runtimeHintValues(Collection<RuntimeHintValue> runtimeHintValues)
One or more strings that Amazon Lex V2 should look for in the input to the bot.
|
RuntimeHintDetails.Builder |
runtimeHintValues(Consumer<RuntimeHintValue.Builder>... runtimeHintValues)
One or more strings that Amazon Lex V2 should look for in the input to the bot.
|
RuntimeHintDetails.Builder |
runtimeHintValues(RuntimeHintValue... runtimeHintValues)
One or more strings that Amazon Lex V2 should look for in the input to the bot.
|
RuntimeHintDetails.Builder |
subSlotHints(Map<String,RuntimeHintDetails> subSlotHints)
A map of constituent sub slot names inside a composite slot in the intent and the phrases that should be
added for each sub slot.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRuntimeHintDetails.Builder runtimeHintValues(Collection<RuntimeHintValue> runtimeHintValues)
One or more strings that Amazon Lex V2 should look for in the input to the bot. Each phrase is given preference when deciding on slot values.
runtimeHintValues - One or more strings that Amazon Lex V2 should look for in the input to the bot. Each phrase is given
preference when deciding on slot values.RuntimeHintDetails.Builder runtimeHintValues(RuntimeHintValue... runtimeHintValues)
One or more strings that Amazon Lex V2 should look for in the input to the bot. Each phrase is given preference when deciding on slot values.
runtimeHintValues - One or more strings that Amazon Lex V2 should look for in the input to the bot. Each phrase is given
preference when deciding on slot values.RuntimeHintDetails.Builder runtimeHintValues(Consumer<RuntimeHintValue.Builder>... runtimeHintValues)
One or more strings that Amazon Lex V2 should look for in the input to the bot. Each phrase is given preference when deciding on slot values.
This is a convenience method that creates an instance of theRuntimeHintValue.Builder avoiding the need to
create one manually via RuntimeHintValue.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #runtimeHintValues(List.
runtimeHintValues - a consumer that will call methods on
RuntimeHintValue.Builder#runtimeHintValues(java.util.Collection) RuntimeHintDetails.Builder subSlotHints(Map<String,RuntimeHintDetails> subSlotHints)
A map of constituent sub slot names inside a composite slot in the intent and the phrases that should be added for each sub slot. Inside each composite slot hints, this structure provides a mechanism to add granular sub slot phrases. Only sub slot hints are supported for composite slots. The intent name, composite slot name and the constituent sub slot names must exist.
subSlotHints - A map of constituent sub slot names inside a composite slot in the intent and the phrases that should
be added for each sub slot. Inside each composite slot hints, this structure provides a mechanism to
add granular sub slot phrases. Only sub slot hints are supported for composite slots. The intent name,
composite slot name and the constituent sub slot names must exist.Copyright © 2023. All rights reserved.