public class SQSBasedSource extends java.lang.Object implements CloudTrailSource
Constructor and Description |
---|
SQSBasedSource(Message sqsMessage,
java.util.List<CloudTrailLog> logs)
This method return a Map of String (key) and String (value).
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<CloudTrailLog> |
getLogs() |
java.util.Map<java.lang.String,java.lang.String> |
getSourceAttributes()
Retrieve the CloudTrailSource attributes.
|
Message |
getSqsMessage() |
int |
hashCode() |
java.lang.String |
toString() |
public SQSBasedSource(Message sqsMessage, java.util.List<CloudTrailLog> logs)
sqsMessage
- Message
SQS message.logs
- A list of CloudTrailLog
.public java.util.Map<java.lang.String,java.lang.String> getSourceAttributes()
getSourceAttributes
in interface CloudTrailSource
public Message getSqsMessage()
public java.util.List<CloudTrailLog> getLogs()
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