@Generated(value="software.amazon.awssdk:codegen") public final class DeleteBotVersionRequest extends LexModelsV2Request implements ToCopyableBuilder<DeleteBotVersionRequest.Builder,DeleteBotVersionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeleteBotVersionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
botId()
The identifier of the bot that contains the version.
|
String |
botVersion()
The version of the bot to delete.
|
static DeleteBotVersionRequest.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 DeleteBotVersionRequest.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 version is being used by
another resource. |
DeleteBotVersionRequest.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 that contains the version.
public final String botVersion()
The version 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 version is being used by
another resource. Set this parameter to true to skip this check and remove the version even if it is
being used by another resource.
ResourceInUseException exception if the version is
being used by another resource. Set this parameter to true to skip this check and remove the
version even if it is being used by another resource.public DeleteBotVersionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeleteBotVersionRequest.Builder,DeleteBotVersionRequest>toBuilder in class LexModelsV2Requestpublic static DeleteBotVersionRequest.Builder builder()
public static Class<? extends DeleteBotVersionRequest.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.