Interface SlotDefaultValueSpecification.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SlotDefaultValueSpecification.Builder,,SlotDefaultValueSpecification> SdkBuilder<SlotDefaultValueSpecification.Builder,,SlotDefaultValueSpecification> SdkPojo
- Enclosing class:
SlotDefaultValueSpecification
public static interface SlotDefaultValueSpecification.Builder
extends SdkPojo, CopyableBuilder<SlotDefaultValueSpecification.Builder,SlotDefaultValueSpecification>
-
Method Summary
Modifier and TypeMethodDescriptiondefaultValueList(Collection<SlotDefaultValue> defaultValueList) A list of default values.defaultValueList(Consumer<SlotDefaultValue.Builder>... defaultValueList) A list of default values.defaultValueList(SlotDefaultValue... defaultValueList) A list of default values.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
defaultValueList
SlotDefaultValueSpecification.Builder defaultValueList(Collection<SlotDefaultValue> defaultValueList) A list of default values. Amazon Lex chooses the default value to use in the order that they are presented in the list.
- Parameters:
defaultValueList- A list of default values. Amazon Lex chooses the default value to use in the order that they are presented in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultValueList
A list of default values. Amazon Lex chooses the default value to use in the order that they are presented in the list.
- Parameters:
defaultValueList- A list of default values. Amazon Lex chooses the default value to use in the order that they are presented in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultValueList
SlotDefaultValueSpecification.Builder defaultValueList(Consumer<SlotDefaultValue.Builder>... defaultValueList) A list of default values. Amazon Lex chooses the default value to use in the order that they are presented in the list.
This is a convenience method that creates an instance of theSlotDefaultValue.Builderavoiding the need to create one manually viaSlotDefaultValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaultValueList(List<SlotDefaultValue>).- Parameters:
defaultValueList- a consumer that will call methods onSlotDefaultValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-