Interface MultipleValuesSetting.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MultipleValuesSetting.Builder,,MultipleValuesSetting> SdkBuilder<MultipleValuesSetting.Builder,,MultipleValuesSetting> SdkPojo
- Enclosing class:
MultipleValuesSetting
public static interface MultipleValuesSetting.Builder
extends SdkPojo, CopyableBuilder<MultipleValuesSetting.Builder,MultipleValuesSetting>
-
Method Summary
Modifier and TypeMethodDescriptionallowMultipleValues(Boolean allowMultipleValues) Indicates whether a slot can return multiple 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
-
allowMultipleValues
Indicates whether a slot can return multiple values. When
true, the slot may return more than one value in a response. Whenfalse, the slot returns only a single value.Multi-value slots are only available in the en-US locale. If you set this value to
truein any other locale, Amazon Lex throws aValidationException.If the
allowMutlipleValuesis not set, the default value isfalse.- Parameters:
allowMultipleValues- Indicates whether a slot can return multiple values. Whentrue, the slot may return more than one value in a response. Whenfalse, the slot returns only a single value.Multi-value slots are only available in the en-US locale. If you set this value to
truein any other locale, Amazon Lex throws aValidationException.If the
allowMutlipleValuesis not set, the default value isfalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-