Interface DeleteSlotTypeRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<DeleteSlotTypeRequest.Builder,DeleteSlotTypeRequest>, LexModelsV2Request.Builder, SdkBuilder<DeleteSlotTypeRequest.Builder,DeleteSlotTypeRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
DeleteSlotTypeRequest

public static interface DeleteSlotTypeRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<DeleteSlotTypeRequest.Builder,DeleteSlotTypeRequest>
  • Method Details

    • 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

      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

      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.
    • overrideConfiguration

      DeleteSlotTypeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.