Interface CfnBot.MultipleValuesSettingProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnBot.MultipleValuesSettingProperty.Jsii$Proxy
Enclosing class:
CfnBot

@Stability(Stable) public static interface CfnBot.MultipleValuesSettingProperty extends software.amazon.jsii.JsiiSerializable
Indicates whether a slot can return multiple values.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.lex.*;
 MultipleValuesSettingProperty multipleValuesSettingProperty = MultipleValuesSettingProperty.builder()
         .allowMultipleValues(false)
         .build();
 
  • Method Details

    • getAllowMultipleValues

      @Stability(Stable) @Nullable default Object getAllowMultipleValues()
      Indicates whether a slot can return multiple values.

      When true , the slot may return more than one value in a response. When false , 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 a ValidationException .

      If the allowMutlipleValues is not set, the default value is false .

    • builder

      @Stability(Stable) static CfnBot.MultipleValuesSettingProperty.Builder builder()
      Returns:
      a CfnBot.MultipleValuesSettingProperty.Builder of CfnBot.MultipleValuesSettingProperty