Class BotVersionSummary
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.BotVersionSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BotVersionSummary.Builder,BotVersionSummary>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBotVersionSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbotName()The name of the bot associated with the version.BotStatusbotStatus()The status of the bot.StringbotStatusAsString()The status of the bot.StringbotVersion()The numeric version of the bot, orDRAFTto indicate that this is the version of the bot that can be updated..static BotVersionSummary.Builderbuilder()InstantcreationDateTime()A timestamp of the date and time that the version was created.Stringdescription()The description of the version.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends BotVersionSummary.Builder>serializableBuilderClass()BotVersionSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
botName
public final String botName()
The name of the bot associated with the version.
- Returns:
- The name of the bot associated with the version.
-
botVersion
public final String botVersion()
The numeric version of the bot, or
DRAFTto indicate that this is the version of the bot that can be updated..- Returns:
- The numeric version of the bot, or
DRAFTto indicate that this is the version of the bot that can be updated..
-
description
public final String description()
The description of the version.
- Returns:
- The description of the version.
-
botStatus
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,
botStatuswill returnBotStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombotStatusAsString().- Returns:
- The status of the bot. When the status is available, the version of the bot is ready for use.
- See Also:
BotStatus
-
botStatusAsString
public 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,
botStatuswill returnBotStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombotStatusAsString().- Returns:
- The status of the bot. When the status is available, the version of the bot is ready for use.
- See Also:
BotStatus
-
creationDateTime
public final Instant creationDateTime()
A timestamp of the date and time that the version was created.
- Returns:
- A timestamp of the date and time that the version was created.
-
toBuilder
public BotVersionSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BotVersionSummary.Builder,BotVersionSummary>
-
builder
public static BotVersionSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends BotVersionSummary.Builder> serializableBuilderClass()
-
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.
-
-