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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SlotDefaultValueSpecification.BuilderdefaultValueList(Collection<SlotDefaultValue> defaultValueList)A list of default values.SlotDefaultValueSpecification.BuilderdefaultValueList(Consumer<SlotDefaultValue.Builder>... defaultValueList)A list of default values.SlotDefaultValueSpecification.BuilderdefaultValueList(SlotDefaultValue... defaultValueList)A list of default values.-
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
-
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
SlotDefaultValueSpecification.Builder defaultValueList(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
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 to#defaultValueList(List.) - 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:
#defaultValueList(java.util.Collection)
-
-