Class DeleteBotRequest
- 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.DeleteBotRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DeleteBotRequest.Builder,DeleteBotRequest>
@Generated("software.amazon.awssdk:codegen") public final class DeleteBotRequest extends LexModelsV2Request implements ToCopyableBuilder<DeleteBotRequest.Builder,DeleteBotRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeleteBotRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbotId()The identifier of the bot to delete.static DeleteBotRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DeleteBotRequest.Builder>serializableBuilderClass()BooleanskipResourceInUseCheck()By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version before it is deleted and throws aResourceInUseExceptionexception if the bot is being used by another resource.DeleteBotRequest.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
-
botId
public final String botId()
The identifier of the bot to delete.
- Returns:
- The identifier of the bot to delete.
-
skipResourceInUseCheck
public final Boolean skipResourceInUseCheck()
By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version before it is deleted and throws a
ResourceInUseExceptionexception if the bot is being used by another resource. Set this parameter totrueto skip this check and remove the bot even if it is being used by another resource.- Returns:
- By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot
version before it is deleted and throws a
ResourceInUseExceptionexception if the bot is being used by another resource. Set this parameter totrueto skip this check and remove the bot even if it is being used by another resource.
-
toBuilder
public DeleteBotRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteBotRequest.Builder,DeleteBotRequest>- Specified by:
toBuilderin classLexModelsV2Request
-
builder
public static DeleteBotRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeleteBotRequest.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
-
-