@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BotAliasHistoryEvent extends Object implements Serializable, Cloneable, StructuredPojo
Provides a record of an event that affects a bot alias. For example, when the version of a bot that the alias points to changes.
Constructor and Description |
---|
BotAliasHistoryEvent() |
Modifier and Type | Method and Description |
---|---|
BotAliasHistoryEvent |
clone() |
boolean |
equals(Object obj) |
String |
getBotVersion()
The version of the bot that was used in the event.
|
Date |
getEndDate()
The date and time that the event ended.
|
Date |
getStartDate()
The date and time that the event started.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBotVersion(String botVersion)
The version of the bot that was used in the event.
|
void |
setEndDate(Date endDate)
The date and time that the event ended.
|
void |
setStartDate(Date startDate)
The date and time that the event started.
|
String |
toString()
Returns a string representation of this object.
|
BotAliasHistoryEvent |
withBotVersion(String botVersion)
The version of the bot that was used in the event.
|
BotAliasHistoryEvent |
withEndDate(Date endDate)
The date and time that the event ended.
|
BotAliasHistoryEvent |
withStartDate(Date startDate)
The date and time that the event started.
|
public void setBotVersion(String botVersion)
The version of the bot that was used in the event.
botVersion
- The version of the bot that was used in the event.public String getBotVersion()
The version of the bot that was used in the event.
public BotAliasHistoryEvent withBotVersion(String botVersion)
The version of the bot that was used in the event.
botVersion
- The version of the bot that was used in the event.public void setStartDate(Date startDate)
The date and time that the event started.
startDate
- The date and time that the event started.public Date getStartDate()
The date and time that the event started.
public BotAliasHistoryEvent withStartDate(Date startDate)
The date and time that the event started.
startDate
- The date and time that the event started.public void setEndDate(Date endDate)
The date and time that the event ended.
endDate
- The date and time that the event ended.public Date getEndDate()
The date and time that the event ended.
public BotAliasHistoryEvent withEndDate(Date endDate)
The date and time that the event ended.
endDate
- The date and time that the event ended.public String toString()
toString
in class Object
Object.toString()
public BotAliasHistoryEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.