@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RelationalDatabaseEvent extends Object implements Serializable, Cloneable, StructuredPojo
Describes an event for a database.
Constructor and Description |
---|
RelationalDatabaseEvent() |
Modifier and Type | Method and Description |
---|---|
RelationalDatabaseEvent |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The timestamp when the database event was created.
|
List<String> |
getEventCategories()
The category that the database event belongs to.
|
String |
getMessage()
The message of the database event.
|
String |
getResource()
The database that the database event relates to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The timestamp when the database event was created.
|
void |
setEventCategories(Collection<String> eventCategories)
The category that the database event belongs to.
|
void |
setMessage(String message)
The message of the database event.
|
void |
setResource(String resource)
The database that the database event relates to.
|
String |
toString()
Returns a string representation of this object.
|
RelationalDatabaseEvent |
withCreatedAt(Date createdAt)
The timestamp when the database event was created.
|
RelationalDatabaseEvent |
withEventCategories(Collection<String> eventCategories)
The category that the database event belongs to.
|
RelationalDatabaseEvent |
withEventCategories(String... eventCategories)
The category that the database event belongs to.
|
RelationalDatabaseEvent |
withMessage(String message)
The message of the database event.
|
RelationalDatabaseEvent |
withResource(String resource)
The database that the database event relates to.
|
public void setResource(String resource)
The database that the database event relates to.
resource
- The database that the database event relates to.public String getResource()
The database that the database event relates to.
public RelationalDatabaseEvent withResource(String resource)
The database that the database event relates to.
resource
- The database that the database event relates to.public void setCreatedAt(Date createdAt)
The timestamp when the database event was created.
createdAt
- The timestamp when the database event was created.public Date getCreatedAt()
The timestamp when the database event was created.
public RelationalDatabaseEvent withCreatedAt(Date createdAt)
The timestamp when the database event was created.
createdAt
- The timestamp when the database event was created.public void setMessage(String message)
The message of the database event.
message
- The message of the database event.public String getMessage()
The message of the database event.
public RelationalDatabaseEvent withMessage(String message)
The message of the database event.
message
- The message of the database event.public List<String> getEventCategories()
The category that the database event belongs to.
public void setEventCategories(Collection<String> eventCategories)
The category that the database event belongs to.
eventCategories
- The category that the database event belongs to.public RelationalDatabaseEvent withEventCategories(String... eventCategories)
The category that the database event belongs to.
NOTE: This method appends the values to the existing list (if any). Use
setEventCategories(java.util.Collection)
or withEventCategories(java.util.Collection)
if you
want to override the existing values.
eventCategories
- The category that the database event belongs to.public RelationalDatabaseEvent withEventCategories(Collection<String> eventCategories)
The category that the database event belongs to.
eventCategories
- The category that the database event belongs to.public String toString()
toString
in class Object
Object.toString()
public RelationalDatabaseEvent clone()
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.