@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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
version()
The version of the bot.
|
copy
public 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()
.
Status
public 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()
.
Status
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<BotMetadata.Builder,BotMetadata>
public static BotMetadata.Builder builder()
public static Class<? extends BotMetadata.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.