Interface SlotDefaultValueSpecification.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<SlotDefaultValueSpecification.Builder,,- SlotDefaultValueSpecification> - SdkBuilder<SlotDefaultValueSpecification.Builder,,- SlotDefaultValueSpecification> - SdkPojo
- Enclosing class:
- SlotDefaultValueSpecification
@Mutable
@NotThreadSafe
public static interface SlotDefaultValueSpecification.Builder
extends SdkPojo, CopyableBuilder<SlotDefaultValueSpecification.Builder,SlotDefaultValueSpecification> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
defaultValueListSlotDefaultValueSpecification.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.
 
- 
defaultValueListA 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.
 
- 
defaultValueListSlotDefaultValueSpecification.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 on- SlotDefaultValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-