@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, the
DeleteBotVersion operations throws a ResourceInUseException exception
if you try to delete a bot version that has an alias pointing at it. |
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, the DeleteBotVersion operations throws a ResourceInUseException exception
if you try to delete a bot version that has an alias pointing at it. Set the skipResourceInUseCheck
parameter to true to skip this check and remove the version even if an alias points to it.
DeleteBotVersion operations throws a ResourceInUseException
exception if you try to delete a bot version that has an alias pointing at it. Set the
skipResourceInUseCheck parameter to true to skip this check and remove the
version even if an alias points to it.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 © 2022. All rights reserved.