Class BotSummary
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<BotSummary.Builder,
BotSummary>
Summary information about a bot returned by the ListBots operation.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
botId()
The unique identifier assigned to the bot.final String
botName()
The name of the bot.final BotStatus
The current status of the bot.final String
The current status of the bot.final BotType
botType()
The type of the bot.final String
The type of the bot.static BotSummary.Builder
builder()
final String
The description of the bot.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Instant
The date and time that the bot was last updated.final String
The latest numerical version in use for the bot.static Class
<? extends BotSummary.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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
The name of the bot.
- Returns:
- The name of the bot.
-
description
The description of the bot.
- Returns:
- The description of the bot.
-
botStatus
The current status of the bot. When the status is
Available
the bot is ready for use.If the service returns an enum value that is not available in the current SDK version,
botStatus
will 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
Available
the bot is ready for use. - See Also:
-
botStatusAsString
The current status of the bot. When the status is
Available
the bot is ready for use.If the service returns an enum value that is not available in the current SDK version,
botStatus
will 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
Available
the bot is ready for use. - See Also:
-
latestBotVersion
The latest numerical version in use for the bot.
- Returns:
- The latest numerical version in use for the bot.
-
lastUpdatedDateTime
The date and time that the bot was last updated.
- Returns:
- The date and time that the bot was last updated.
-
botType
The type of the bot.
If the service returns an enum value that is not available in the current SDK version,
botType
will returnBotType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frombotTypeAsString()
.- Returns:
- The type of the bot.
- See Also:
-
botTypeAsString
The type of the bot.
If the service returns an enum value that is not available in the current SDK version,
botType
will returnBotType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frombotTypeAsString()
.- Returns:
- The type of the bot.
- See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<BotSummary.Builder,
BotSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-