@Generated(value="software.amazon.awssdk:codegen") public final class BotVersionSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BotVersionSummary.Builder,BotVersionSummary>
Summary information about a bot version returned by the ListBotVersions operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BotVersionSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
botName()
The name of the bot associated with the version.
|
BotStatus |
botStatus()
The status of the bot.
|
String |
botStatusAsString()
The status of the bot.
|
String |
botVersion()
The numeric version of the bot, or
DRAFT to indicate that this is the version of the bot that can be
updated.. |
static BotVersionSummary.Builder |
builder() |
Instant |
creationDateTime()
A timestamp of the date and time that the version was created.
|
String |
description()
The description of the version.
|
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 BotVersionSummary.Builder> |
serializableBuilderClass() |
BotVersionSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String botName()
The name of the bot associated with the version.
public final String botVersion()
The numeric version of the bot, or DRAFT to indicate that this is the version of the bot that can be
updated..
DRAFT to indicate that this is the version of the bot
that can be updated..public final String description()
The description of the version.
public final BotStatus botStatus()
The status of the bot. When the status is available, the version of the bot is ready for use.
If the service returns an enum value that is not available in the current SDK version, botStatus will
return BotStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
botStatusAsString().
BotStatuspublic final String botStatusAsString()
The status of the bot. When the status is available, the version of the bot is ready for use.
If the service returns an enum value that is not available in the current SDK version, botStatus will
return BotStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
botStatusAsString().
BotStatuspublic final Instant creationDateTime()
A timestamp of the date and time that the version was created.
public BotVersionSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BotVersionSummary.Builder,BotVersionSummary>public static BotVersionSummary.Builder builder()
public static Class<? extends BotVersionSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.