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
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 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
true
in any other locale, Amazon Lex throws aValidationException
.If the
allowMutlipleValues
is 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
true
in any other locale, Amazon Lex throws aValidationException
.If the
allowMutlipleValues
is not set, the default value isfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-