public class CloudTrailEvent
extends java.lang.Object
EventsProcessor
's
process
method.Constructor and Description |
---|
CloudTrailEvent(CloudTrailEventData eventData,
CloudTrailEventMetadata eventMetadata)
Initializes a CloudTrailEvent object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compares this
CloudTrailEvent object with another. |
CloudTrailEventData |
getEventData()
Get the
CloudTrailEventData used to initialize this object. |
CloudTrailEventMetadata |
getEventMetadata()
Get the
CloudTrailEventMetadata used to initialize this object. |
int |
hashCode()
Returns a hash code for the object.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
public CloudTrailEvent(CloudTrailEventData eventData, CloudTrailEventMetadata eventMetadata)
eventData
- The CloudTrailEventData
to process.eventMetadata
- A CloudTrailEventMetadata
object that can provide delivery information about the event.public CloudTrailEventData getEventData()
CloudTrailEventData
used to initialize this object.CloudTrailEventData
held by this instance.public CloudTrailEventMetadata getEventMetadata()
CloudTrailEventMetadata
used to initialize this object.CloudTrailDeliveryInfo
.public java.lang.String toString()
toString
in class java.lang.Object
{ eventData: "eventData", eventMetadata: "eventMetadata" }
.
A field will not be rendered if its value is null
.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
CloudTrailEvent
object with another.equals
in class java.lang.Object
true
if they represent the same event;
false
* otherwise.