Interface RuntimeHintDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuntimeHintDetails.Builder,
,RuntimeHintDetails> SdkBuilder<RuntimeHintDetails.Builder,
,RuntimeHintDetails> SdkPojo
- Enclosing class:
RuntimeHintDetails
-
Method Summary
Modifier and TypeMethodDescriptionruntimeHintValues
(Collection<RuntimeHintValue> runtimeHintValues) One or more strings that Amazon Lex V2 should look for in the input to the bot.runtimeHintValues
(Consumer<RuntimeHintValue.Builder>... runtimeHintValues) One or more strings that Amazon Lex V2 should look for in the input to the bot.runtimeHintValues
(RuntimeHintValue... runtimeHintValues) One or more strings that Amazon Lex V2 should look for in the input to the bot.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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeHintValues
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 viaRuntimeHintValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toruntimeHintValues(List<RuntimeHintValue>)
.- Parameters:
runtimeHintValues
- a consumer that will call methods onRuntimeHintValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-