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 Summary
Modifier and TypeMethodDescriptionThe identifier of the bot associated with the slot type.botVersion
(String botVersion) The version of the bot associated with the slot type.The identifier of the language and locale that the slot type will be deleted from.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.skipResourceInUseCheck
(Boolean skipResourceInUseCheck) By default, theDeleteSlotType
operations throws aResourceInUseException
exception if you try to delete a slot type used by a slot.slotTypeId
(String slotTypeId) The identifier of the slot type to delete.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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
By default, the
DeleteSlotType
operations throws aResourceInUseException
exception if you try to delete a slot type used by a slot. Set theskipResourceInUseCheck
parameter totrue
to skip this check and remove the slot type even if a slot uses it.- Parameters:
skipResourceInUseCheck
- By default, theDeleteSlotType
operations throws aResourceInUseException
exception if you try to delete a slot type used by a slot. Set theskipResourceInUseCheck
parameter totrue
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 interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeleteSlotTypeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-