@Generated(value="software.amazon.awssdk:codegen") public final class BotMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BotMetadata.Builder,BotMetadata>
Provides information about a bot. .
| Modifier and Type | Class and Description |
|---|---|
static interface |
BotMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BotMetadata.Builder |
builder() |
Instant |
createdDate()
The date that the bot was created.
|
String |
description()
A description of the bot.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedDate()
The date that the bot was updated.
|
String |
name()
The name of the bot.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BotMetadata.Builder> |
serializableBuilderClass() |
Status |
status()
The status of the bot.
|
String |
statusAsString()
The status of the bot.
|
BotMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
version()
The version of the bot.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the bot.
public final String description()
A description of the bot.
public final Status status()
The status of the bot.
If the service returns an enum value that is not available in the current SDK version, status will
return Status.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Statuspublic final String statusAsString()
The status of the bot.
If the service returns an enum value that is not available in the current SDK version, status will
return Status.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
Statuspublic final Instant lastUpdatedDate()
The date that the bot was updated. When you create a bot, the creation date and last updated date are the same.
public final Instant createdDate()
The date that the bot was created.
public final String version()
The version of the bot. For a new bot, the version is always $LATEST.
$LATEST.public BotMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BotMetadata.Builder,BotMetadata>public static BotMetadata.Builder builder()
public static Class<? extends BotMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.