Interface CreateSlotRequest.Builder

    • Method Detail

      • slotName

        CreateSlotRequest.Builder slotName​(String slotName)

        The name of the slot. Slot names must be unique within the bot that contains the slot.

        Parameters:
        slotName - The name of the slot. Slot names must be unique within the bot that contains the slot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        CreateSlotRequest.Builder description​(String description)

        A description of the slot. Use this to help identify the slot in lists.

        Parameters:
        description - A description of the slot. Use this to help identify the slot in lists.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • slotTypeId

        CreateSlotRequest.Builder slotTypeId​(String slotTypeId)

        The unique identifier for the slot type associated with this slot. The slot type determines the values that can be entered into the slot.

        Parameters:
        slotTypeId - The unique identifier for the slot type associated with this slot. The slot type determines the values that can be entered into the slot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • valueElicitationSetting

        CreateSlotRequest.Builder valueElicitationSetting​(SlotValueElicitationSetting valueElicitationSetting)

        Specifies prompts that Amazon Lex sends to the user to elicit a response that provides the value for the slot.

        Parameters:
        valueElicitationSetting - Specifies prompts that Amazon Lex sends to the user to elicit a response that provides the value for the slot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • obfuscationSetting

        CreateSlotRequest.Builder obfuscationSetting​(ObfuscationSetting obfuscationSetting)

        Determines how slot values are used in Amazon CloudWatch logs. If the value of the obfuscationSetting parameter is DefaultObfuscation, slot values are obfuscated in the log output. If the value is None, the actual value is present in the log output.

        The default is to obfuscate values in the CloudWatch logs.

        Parameters:
        obfuscationSetting - Determines how slot values are used in Amazon CloudWatch logs. If the value of the obfuscationSetting parameter is DefaultObfuscation, slot values are obfuscated in the log output. If the value is None, the actual value is present in the log output.

        The default is to obfuscate values in the CloudWatch logs.

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

        CreateSlotRequest.Builder botId​(String botId)

        The identifier of the bot associated with the slot.

        Parameters:
        botId - The identifier of the bot associated with the slot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • botVersion

        CreateSlotRequest.Builder botVersion​(String botVersion)

        The version of the bot associated with the slot.

        Parameters:
        botVersion - The version of the bot associated with the slot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • localeId

        CreateSlotRequest.Builder localeId​(String localeId)

        The identifier of the language and locale that the slot will be used in. The string must match one of the supported locales. All of the bots, intents, slot types used by the slot must have the same locale. For more information, see Supported languages.

        Parameters:
        localeId - The identifier of the language and locale that the slot will be used in. The string must match one of the supported locales. All of the bots, intents, slot types used by the slot must have the same locale. For more information, see Supported languages.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • intentId

        CreateSlotRequest.Builder intentId​(String intentId)

        The identifier of the intent that contains the slot.

        Parameters:
        intentId - The identifier of the intent that contains the slot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • multipleValuesSetting

        CreateSlotRequest.Builder multipleValuesSetting​(MultipleValuesSetting multipleValuesSetting)

        Indicates whether the slot returns multiple values in one response. 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 multipleValuesSetting is not set, the default value is false.

        Parameters:
        multipleValuesSetting - Indicates whether the slot returns multiple values in one response. 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 multipleValuesSetting is not set, the default value is false.

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

        CreateSlotRequest.Builder subSlotSetting​(SubSlotSetting subSlotSetting)

        Specifications for the constituent sub slots and the expression for the composite slot.

        Parameters:
        subSlotSetting - Specifications for the constituent sub slots and the expression for the composite slot.
        Returns:
        Returns a reference to this object so that method calls can be chained together.