@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) |
<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 String name()
The name of the bot.
public String description()
A description of the bot.
public 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 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 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 Instant createdDate()
The date that the bot was created.
public 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 String toString()
Copyright © 2019. All rights reserved.