Interface DeleteSlotTypeRequest.Builder

    • Method Detail

      • slotTypeId

        DeleteSlotTypeRequest.Builder slotTypeId​(String slotTypeId)

        The identifier of the slot type to delete.

        Parameters:
        slotTypeId - The identifier of the slot type to delete.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • botId

        DeleteSlotTypeRequest.Builder botId​(String botId)

        The identifier of the bot associated with the slot type.

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

        DeleteSlotTypeRequest.Builder botVersion​(String botVersion)

        The version of the bot associated with the slot type.

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

        DeleteSlotTypeRequest.Builder localeId​(String localeId)

        The identifier of the language and locale that the slot type will be deleted from. The string must match one of the supported locales. For more information, see Supported languages.

        Parameters:
        localeId - The identifier of the language and locale that the slot type will be deleted from. The string must match one of the supported locales. For more information, see Supported languages.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • skipResourceInUseCheck

        DeleteSlotTypeRequest.Builder skipResourceInUseCheck​(Boolean skipResourceInUseCheck)

        By default, the DeleteSlotType operations throws a ResourceInUseException exception if you try to delete a slot type used by a slot. Set the skipResourceInUseCheck parameter to true to skip this check and remove the slot type even if a slot uses it.

        Parameters:
        skipResourceInUseCheck - By default, the DeleteSlotType operations throws a ResourceInUseException exception if you try to delete a slot type used by a slot. Set the skipResourceInUseCheck parameter to true to skip this check and remove the slot type even if a slot uses it.
        Returns:
        Returns a reference to this object so that method calls can be chained together.