@Generated(value="software.amazon.awssdk:codegen") public final class DeleteBotRequest extends LexModelsV2Request implements ToCopyableBuilder<DeleteBotRequest.Builder,DeleteBotRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeleteBotRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
botId()
The identifier of the bot to delete.
|
static DeleteBotRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeleteBotRequest.Builder> |
serializableBuilderClass() |
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
ResourceInUseException exception if the bot is being used by
another resource. |
DeleteBotRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String botId()
The identifier of the bot to delete.
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 ResourceInUseException exception if the bot is being used by
another resource. Set this parameter to true to skip this check and remove the bot even if it is
being used by another resource.
ResourceInUseException exception if the bot is
being used by another resource. Set this parameter to true to skip this check and remove the
bot even if it is being used by another resource.public DeleteBotRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeleteBotRequest.Builder,DeleteBotRequest>toBuilder in class LexModelsV2Requestpublic static DeleteBotRequest.Builder builder()
public static Class<? extends DeleteBotRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.