@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LogEvent extends Object implements Serializable, Cloneable, StructuredPojo
Describes a database log event.
Constructor and Description |
---|
LogEvent() |
Modifier and Type | Method and Description |
---|---|
LogEvent |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The timestamp when the database log event was created.
|
String |
getMessage()
The message of the database log event.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The timestamp when the database log event was created.
|
void |
setMessage(String message)
The message of the database log event.
|
String |
toString()
Returns a string representation of this object.
|
LogEvent |
withCreatedAt(Date createdAt)
The timestamp when the database log event was created.
|
LogEvent |
withMessage(String message)
The message of the database log event.
|
public void setCreatedAt(Date createdAt)
The timestamp when the database log event was created.
createdAt
- The timestamp when the database log event was created.public Date getCreatedAt()
The timestamp when the database log event was created.
public LogEvent withCreatedAt(Date createdAt)
The timestamp when the database log event was created.
createdAt
- The timestamp when the database log event was created.public void setMessage(String message)
The message of the database log event.
message
- The message of the database log event.public String getMessage()
The message of the database log event.
public LogEvent withMessage(String message)
The message of the database log event.
message
- The message of the database log event.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.