public class LogDeliveryInfo extends java.lang.Object implements CloudTrailEventMetadata
Constructor and Description |
---|
LogDeliveryInfo(CloudTrailLog log,
int charStart,
int charEnd,
java.lang.String rawEvent)
The log delivery information.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
long |
getCharEnd() |
long |
getCharStart() |
CloudTrailLog |
getLog() |
java.lang.String |
getRawEvent() |
int |
hashCode() |
java.lang.String |
toString() |
public LogDeliveryInfo(CloudTrailLog log, int charStart, int charEnd, java.lang.String rawEvent)
log
- that event was coming from.charStart
- the 0-based location of the event's starting character "{" and -1 when enableRawEventInfo is false.charEnd
- the 0-based location of the event's ending character "}" and -1 when enableRawEventInfo is false.rawEvent
- the CloudTrail event in raw String - as it is in the log file and null when enableRawEventInfo is false.public CloudTrailLog getLog()
public long getCharStart()
public long getCharEnd()
public java.lang.String getRawEvent()
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object