JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.lexmodelsv2.model

Class MultipleValuesSetting

    • Constructor Detail

      • MultipleValuesSetting

        public MultipleValuesSetting()
    • Method Detail

      • setAllowMultipleValues

        public void setAllowMultipleValues(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.

      • getAllowMultipleValues

        public Boolean 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.

        Returns:
        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.

      • withAllowMultipleValues

        public MultipleValuesSetting withAllowMultipleValues(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.
      • isAllowMultipleValues

        public Boolean isAllowMultipleValues()

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

      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /