@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BotVersionSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information about a bot version returned by the ListBotVersions operation.
Constructor and Description |
---|
BotVersionSummary() |
Modifier and Type | Method and Description |
---|---|
BotVersionSummary |
clone() |
boolean |
equals(Object obj) |
String |
getBotName()
The name of the bot associated with the version.
|
String |
getBotStatus()
The status of the bot.
|
String |
getBotVersion()
The numeric version of the bot, or
DRAFT to indicate that this is the version of the bot that can be
updated.. |
Date |
getCreationDateTime()
A timestamp of the date and time that the version was created.
|
String |
getDescription()
The description of the version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBotName(String botName)
The name of the bot associated with the version.
|
void |
setBotStatus(String botStatus)
The status of the bot.
|
void |
setBotVersion(String botVersion)
The numeric version of the bot, or
DRAFT to indicate that this is the version of the bot that can be
updated.. |
void |
setCreationDateTime(Date creationDateTime)
A timestamp of the date and time that the version was created.
|
void |
setDescription(String description)
The description of the version.
|
String |
toString()
Returns a string representation of this object.
|
BotVersionSummary |
withBotName(String botName)
The name of the bot associated with the version.
|
BotVersionSummary |
withBotStatus(BotStatus botStatus)
The status of the bot.
|
BotVersionSummary |
withBotStatus(String botStatus)
The status of the bot.
|
BotVersionSummary |
withBotVersion(String botVersion)
The numeric version of the bot, or
DRAFT to indicate that this is the version of the bot that can be
updated.. |
BotVersionSummary |
withCreationDateTime(Date creationDateTime)
A timestamp of the date and time that the version was created.
|
BotVersionSummary |
withDescription(String description)
The description of the version.
|
public void setBotName(String botName)
The name of the bot associated with the version.
botName
- The name of the bot associated with the version.public String getBotName()
The name of the bot associated with the version.
public BotVersionSummary withBotName(String botName)
The name of the bot associated with the version.
botName
- The name of the bot associated with the version.public void setBotVersion(String botVersion)
The numeric version of the bot, or DRAFT
to indicate that this is the version of the bot that can be
updated..
botVersion
- The numeric version of the bot, or DRAFT
to indicate that this is the version of the bot that
can be updated..public String getBotVersion()
The numeric version of the bot, or DRAFT
to indicate that this is the version of the bot that can be
updated..
DRAFT
to indicate that this is the version of the bot
that can be updated..public BotVersionSummary withBotVersion(String botVersion)
The numeric version of the bot, or DRAFT
to indicate that this is the version of the bot that can be
updated..
botVersion
- The numeric version of the bot, or DRAFT
to indicate that this is the version of the bot that
can be updated..public void setDescription(String description)
The description of the version.
description
- The description of the version.public String getDescription()
The description of the version.
public BotVersionSummary withDescription(String description)
The description of the version.
description
- The description of the version.public void setBotStatus(String botStatus)
The status of the bot. When the status is available, the version of the bot is ready for use.
botStatus
- The status of the bot. When the status is available, the version of the bot is ready for use.BotStatus
public String getBotStatus()
The status of the bot. When the status is available, the version of the bot is ready for use.
BotStatus
public BotVersionSummary withBotStatus(String botStatus)
The status of the bot. When the status is available, the version of the bot is ready for use.
botStatus
- The status of the bot. When the status is available, the version of the bot is ready for use.BotStatus
public BotVersionSummary withBotStatus(BotStatus botStatus)
The status of the bot. When the status is available, the version of the bot is ready for use.
botStatus
- The status of the bot. When the status is available, the version of the bot is ready for use.BotStatus
public void setCreationDateTime(Date creationDateTime)
A timestamp of the date and time that the version was created.
creationDateTime
- A timestamp of the date and time that the version was created.public Date getCreationDateTime()
A timestamp of the date and time that the version was created.
public BotVersionSummary withCreationDateTime(Date creationDateTime)
A timestamp of the date and time that the version was created.
creationDateTime
- A timestamp of the date and time that the version was created.public String toString()
toString
in class Object
Object.toString()
public BotVersionSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.