Class BotMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelbuilding.model.BotMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BotMetadata.Builder,BotMetadata>
@Generated("software.amazon.awssdk:codegen") public final class BotMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BotMetadata.Builder,BotMetadata>
Provides information about a bot. .
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBotMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BotMetadata.Builderbuilder()InstantcreatedDate()The date that the bot was created.Stringdescription()A description of the bot.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdatedDate()The date that the bot was updated.Stringname()The name of the bot.List<SdkField<?>>sdkFields()static Class<? extends BotMetadata.Builder>serializableBuilderClass()Statusstatus()The status of the bot.StringstatusAsString()The status of the bot.BotMetadata.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringversion()The version of the bot.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of the bot.
- Returns:
- The name of the bot.
-
description
public final String description()
A description of the bot.
- Returns:
- A description of the bot.
-
status
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,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the bot.
- See Also:
Status
-
statusAsString
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,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the bot.
- See Also:
Status
-
lastUpdatedDate
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.
- Returns:
- The date that the bot was updated. When you create a bot, the creation date and last updated date are the same.
-
createdDate
public final Instant createdDate()
The date that the bot was created.
- Returns:
- The date that the bot was created.
-
version
public final String version()
The version of the bot. For a new bot, the version is always
$LATEST.- Returns:
- The version of the bot. For a new bot, the version is always
$LATEST.
-
toBuilder
public BotMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BotMetadata.Builder,BotMetadata>
-
builder
public static BotMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends BotMetadata.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-