Class BotSummary
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.BotSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BotSummary.Builder,BotSummary>
@Generated("software.amazon.awssdk:codegen") public final class BotSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BotSummary.Builder,BotSummary>
Summary information about a bot returned by the ListBots operation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBotSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbotId()The unique identifier assigned to the bot.StringbotName()The name of the bot.BotStatusbotStatus()The current status of the bot.StringbotStatusAsString()The current status of the bot.BotTypebotType()The type of the bot.StringbotTypeAsString()The type of the bot.static BotSummary.Builderbuilder()Stringdescription()The description of the bot.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedDateTime()The date and time that the bot was last updated.StringlatestBotVersion()The latest numerical version in use for the bot.List<SdkField<?>>sdkFields()static Class<? extends BotSummary.Builder>serializableBuilderClass()BotSummary.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
-
botId
public final String botId()
The unique identifier assigned to the bot. Use this ID to get detailed information about the bot with the DescribeBot operation.
- Returns:
- The unique identifier assigned to the bot. Use this ID to get detailed information about the bot with the DescribeBot operation.
-
botName
public final String botName()
The name of the bot.
- Returns:
- The name of the bot.
-
description
public final String description()
The description of the bot.
- Returns:
- The description of the bot.
-
botStatus
public final BotStatus botStatus()
The current status of the bot. When the status is
Availablethe 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 current status of the bot. When the status is
Availablethe bot is ready for use. - See Also:
BotStatus
-
botStatusAsString
public final String botStatusAsString()
The current status of the bot. When the status is
Availablethe 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 current status of the bot. When the status is
Availablethe bot is ready for use. - See Also:
BotStatus
-
latestBotVersion
public final String latestBotVersion()
The latest numerical version in use for the bot.
- Returns:
- The latest numerical version in use for the bot.
-
lastUpdatedDateTime
public final Instant lastUpdatedDateTime()
The date and time that the bot was last updated.
- Returns:
- The date and time that the bot was last updated.
-
botType
public final BotType botType()
The type of the bot.
If the service returns an enum value that is not available in the current SDK version,
botTypewill returnBotType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombotTypeAsString().- Returns:
- The type of the bot.
- See Also:
BotType
-
botTypeAsString
public final String botTypeAsString()
The type of the bot.
If the service returns an enum value that is not available in the current SDK version,
botTypewill returnBotType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frombotTypeAsString().- Returns:
- The type of the bot.
- See Also:
BotType
-
toBuilder
public BotSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BotSummary.Builder,BotSummary>
-
builder
public static BotSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends BotSummary.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.
-
-