Interface RuntimeHintDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuntimeHintDetails.Builder,RuntimeHintDetails>,SdkBuilder<RuntimeHintDetails.Builder,RuntimeHintDetails>,SdkPojo
- Enclosing class:
- RuntimeHintDetails
public static interface RuntimeHintDetails.Builder extends SdkPojo, CopyableBuilder<RuntimeHintDetails.Builder,RuntimeHintDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RuntimeHintDetails.BuilderruntimeHintValues(Collection<RuntimeHintValue> runtimeHintValues)One or more strings that Amazon Lex should look for in the input to the bot.RuntimeHintDetails.BuilderruntimeHintValues(Consumer<RuntimeHintValue.Builder>... runtimeHintValues)One or more strings that Amazon Lex should look for in the input to the bot.RuntimeHintDetails.BuilderruntimeHintValues(RuntimeHintValue... runtimeHintValues)One or more strings that Amazon Lex should look for in the input to the bot.RuntimeHintDetails.BuildersubSlotHints(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 Detail
-
runtimeHintValues
RuntimeHintDetails.Builder runtimeHintValues(Collection<RuntimeHintValue> runtimeHintValues)
One or more strings that Amazon Lex 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 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(RuntimeHintValue... runtimeHintValues)
One or more strings that Amazon Lex 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 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 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.Builderavoiding the need to create one manually viaRuntimeHintValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#runtimeHintValues(List.) - 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:
#runtimeHintValues(java.util.Collection)
-
subSlotHints
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.
- 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.
-
-