@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BotLocaleHistoryEvent extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about an event that occurred affecting the bot locale.
| Constructor and Description |
|---|
BotLocaleHistoryEvent() |
| Modifier and Type | Method and Description |
|---|---|
BotLocaleHistoryEvent |
clone() |
boolean |
equals(Object obj) |
String |
getEvent()
A description of the event that occurred.
|
Date |
getEventDate()
A timestamp of the date and time that the event occurred.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEvent(String event)
A description of the event that occurred.
|
void |
setEventDate(Date eventDate)
A timestamp of the date and time that the event occurred.
|
String |
toString()
Returns a string representation of this object.
|
BotLocaleHistoryEvent |
withEvent(String event)
A description of the event that occurred.
|
BotLocaleHistoryEvent |
withEventDate(Date eventDate)
A timestamp of the date and time that the event occurred.
|
public void setEvent(String event)
A description of the event that occurred.
event - A description of the event that occurred.public String getEvent()
A description of the event that occurred.
public BotLocaleHistoryEvent withEvent(String event)
A description of the event that occurred.
event - A description of the event that occurred.public void setEventDate(Date eventDate)
A timestamp of the date and time that the event occurred.
eventDate - A timestamp of the date and time that the event occurred.public Date getEventDate()
A timestamp of the date and time that the event occurred.
public BotLocaleHistoryEvent withEventDate(Date eventDate)
A timestamp of the date and time that the event occurred.
eventDate - A timestamp of the date and time that the event occurred.public String toString()
toString in class ObjectObject.toString()public BotLocaleHistoryEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.