@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BotMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a bot. .
Constructor and Description |
---|
BotMetadata() |
Modifier and Type | Method and Description |
---|---|
BotMetadata |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDate()
The date that the bot was created.
|
String |
getDescription()
A description of the bot.
|
Date |
getLastUpdatedDate()
The date that the bot was updated.
|
String |
getName()
The name of the bot.
|
String |
getStatus()
The status of the bot.
|
String |
getVersion()
The version of the bot.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedDate(Date createdDate)
The date that the bot was created.
|
void |
setDescription(String description)
A description of the bot.
|
void |
setLastUpdatedDate(Date lastUpdatedDate)
The date that the bot was updated.
|
void |
setName(String name)
The name of the bot.
|
void |
setStatus(Status status)
The status of the bot.
|
void |
setStatus(String status)
The status of the bot.
|
void |
setVersion(String version)
The version of the bot.
|
String |
toString()
Returns a string representation of this object.
|
BotMetadata |
withCreatedDate(Date createdDate)
The date that the bot was created.
|
BotMetadata |
withDescription(String description)
A description of the bot.
|
BotMetadata |
withLastUpdatedDate(Date lastUpdatedDate)
The date that the bot was updated.
|
BotMetadata |
withName(String name)
The name of the bot.
|
BotMetadata |
withStatus(Status status)
The status of the bot.
|
BotMetadata |
withStatus(String status)
The status of the bot.
|
BotMetadata |
withVersion(String version)
The version of the bot.
|
public void setName(String name)
The name of the bot.
name
- The name of the bot.public String getName()
The name of the bot.
public BotMetadata withName(String name)
The name of the bot.
name
- The name of the bot.public void setDescription(String description)
A description of the bot.
description
- A description of the bot.public String getDescription()
A description of the bot.
public BotMetadata withDescription(String description)
A description of the bot.
description
- A description of the bot.public void setStatus(String status)
The status of the bot.
status
- The status of the bot.Status
public String getStatus()
The status of the bot.
Status
public BotMetadata withStatus(String status)
The status of the bot.
status
- The status of the bot.Status
public void setStatus(Status status)
The status of the bot.
status
- The status of the bot.Status
public BotMetadata withStatus(Status status)
The status of the bot.
status
- The status of the bot.Status
public void setLastUpdatedDate(Date lastUpdatedDate)
The date that the bot was updated. When you create a bot, the creation date and last updated date are the same.
lastUpdatedDate
- The date that the bot was updated. When you create a bot, the creation date and last updated date are the
same.public Date getLastUpdatedDate()
The date that the bot was updated. When you create a bot, the creation date and last updated date are the same.
public BotMetadata withLastUpdatedDate(Date lastUpdatedDate)
The date that the bot was updated. When you create a bot, the creation date and last updated date are the same.
lastUpdatedDate
- The date that the bot was updated. When you create a bot, the creation date and last updated date are the
same.public void setCreatedDate(Date createdDate)
The date that the bot was created.
createdDate
- The date that the bot was created.public Date getCreatedDate()
The date that the bot was created.
public BotMetadata withCreatedDate(Date createdDate)
The date that the bot was created.
createdDate
- The date that the bot was created.public void setVersion(String version)
The version of the bot. For a new bot, the version is always $LATEST
.
version
- The version of the bot. For a new bot, the version is always $LATEST
.public String getVersion()
The version of the bot. For a new bot, the version is always $LATEST
.
$LATEST
.public BotMetadata withVersion(String version)
The version of the bot. For a new bot, the version is always $LATEST
.
version
- The version of the bot. For a new bot, the version is always $LATEST
.public String toString()
toString
in class Object
Object.toString()
public BotMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.