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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteSlotTypeRequest.BuilderbotId(String botId)The identifier of the bot associated with the slot type.DeleteSlotTypeRequest.BuilderbotVersion(String botVersion)The version of the bot associated with the slot type.DeleteSlotTypeRequest.BuilderlocaleId(String localeId)The identifier of the language and locale that the slot type will be deleted from.DeleteSlotTypeRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DeleteSlotTypeRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)DeleteSlotTypeRequest.BuilderskipResourceInUseCheck(Boolean skipResourceInUseCheck)By default, theDeleteSlotTypeoperations throws aResourceInUseExceptionexception if you try to delete a slot type used by a slot.DeleteSlotTypeRequest.BuilderslotTypeId(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 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
DeleteSlotTypeoperations throws aResourceInUseExceptionexception if you try to delete a slot type used by a slot. Set theskipResourceInUseCheckparameter totrueto skip this check and remove the slot type even if a slot uses it.- Parameters:
skipResourceInUseCheck- By default, theDeleteSlotTypeoperations throws aResourceInUseExceptionexception if you try to delete a slot type used by a slot. Set theskipResourceInUseCheckparameter totrueto 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DeleteSlotTypeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-