Interface MultipleValuesSetting.Builder

  • Method Details

    • allowMultipleValues

      MultipleValuesSetting.Builder allowMultipleValues(Boolean allowMultipleValues)

      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.

      Parameters:
      allowMultipleValues - 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.