Class DeleteSlotTypeRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request
-
- software.amazon.awssdk.services.lexmodelsv2.model.DeleteSlotTypeRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteSlotTypeRequest.Builder,DeleteSlotTypeRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteSlotTypeRequest extends LexModelsV2Request implements ToCopyableBuilder<DeleteSlotTypeRequest.Builder,DeleteSlotTypeRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteSlotTypeRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbotId()The identifier of the bot associated with the slot type.StringbotVersion()The version of the bot associated with the slot type.static DeleteSlotTypeRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlocaleId()The identifier of the language and locale that the slot type will be deleted from.List<SdkField<?>>sdkFields()static Class<? extends DeleteSlotTypeRequest.Builder>serializableBuilderClass()BooleanskipResourceInUseCheck()By default, theDeleteSlotTypeoperations throws aResourceInUseExceptionexception if you try to delete a slot type used by a slot.StringslotTypeId()The identifier of the slot type to delete.DeleteSlotTypeRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
slotTypeId
public final String slotTypeId()
The identifier of the slot type to delete.
- Returns:
- The identifier of the slot type to delete.
-
botId
public final String botId()
The identifier of the bot associated with the slot type.
- Returns:
- The identifier of the bot associated with the slot type.
-
botVersion
public final String botVersion()
The version of the bot associated with the slot type.
- Returns:
- The version of the bot associated with the slot type.
-
localeId
public final 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.
- Returns:
- 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.
-
skipResourceInUseCheck
public final 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.- Returns:
- 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.
-
toBuilder
public DeleteSlotTypeRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteSlotTypeRequest.Builder,DeleteSlotTypeRequest>- Specified by:
toBuilderin classLexModelsV2Request
-
builder
public static DeleteSlotTypeRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteSlotTypeRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-