public static interface SlotDefaultValueSpec.Builder extends SdkPojo, CopyableBuilder<SlotDefaultValueSpec.Builder,SlotDefaultValueSpec>
| Modifier and Type | Method and Description |
|---|---|
SlotDefaultValueSpec.Builder |
defaultValueList(Collection<SlotDefaultValue> defaultValueList)
The default values for a slot.
|
SlotDefaultValueSpec.Builder |
defaultValueList(Consumer<SlotDefaultValue.Builder>... defaultValueList)
The default values for a slot.
|
SlotDefaultValueSpec.Builder |
defaultValueList(SlotDefaultValue... defaultValueList)
The default values for a slot.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSlotDefaultValueSpec.Builder defaultValueList(Collection<SlotDefaultValue> defaultValueList)
The default values for a slot. You can specify more than one default. For example, you can specify a default value to use from a matching context variable, a session attribute, or a fixed value.
The default value chosen is selected based on the order that you specify them in the list. For example, if you specify a context variable and a fixed value in that order, Amazon Lex uses the context variable if it is available, else it uses the fixed value.
defaultValueList - The default values for a slot. You can specify more than one default. For example, you can specify a
default value to use from a matching context variable, a session attribute, or a fixed value.
The default value chosen is selected based on the order that you specify them in the list. For example, if you specify a context variable and a fixed value in that order, Amazon Lex uses the context variable if it is available, else it uses the fixed value.
SlotDefaultValueSpec.Builder defaultValueList(SlotDefaultValue... defaultValueList)
The default values for a slot. You can specify more than one default. For example, you can specify a default value to use from a matching context variable, a session attribute, or a fixed value.
The default value chosen is selected based on the order that you specify them in the list. For example, if you specify a context variable and a fixed value in that order, Amazon Lex uses the context variable if it is available, else it uses the fixed value.
defaultValueList - The default values for a slot. You can specify more than one default. For example, you can specify a
default value to use from a matching context variable, a session attribute, or a fixed value.
The default value chosen is selected based on the order that you specify them in the list. For example, if you specify a context variable and a fixed value in that order, Amazon Lex uses the context variable if it is available, else it uses the fixed value.
SlotDefaultValueSpec.Builder defaultValueList(Consumer<SlotDefaultValue.Builder>... defaultValueList)
The default values for a slot. You can specify more than one default. For example, you can specify a default value to use from a matching context variable, a session attribute, or a fixed value.
The default value chosen is selected based on the order that you specify them in the list. For example, if you specify a context variable and a fixed value in that order, Amazon Lex uses the context variable if it is available, else it uses the fixed value.
This is a convenience method that creates an instance of theList.Builder avoiding
the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #defaultValueList(List) .defaultValueList - a consumer that will call methods on List.Builder #defaultValueList(List) Copyright © 2022. All rights reserved.