@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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<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()
Returns a string representation of this object.
|
String |
version()
The version of the bot.
|
copy
public 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()
.
Status
public 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()
.
Status
public 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()
ToCopyableBuilder
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)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()