public class SNSEvent extends Object implements Serializable, Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
SNSEvent.MessageAttribute
Represents an SNS message attribute
|
static class |
SNSEvent.SNS
Represents an SNS message
|
static class |
SNSEvent.SNSRecord
Represents an SNS message record.
|
| Constructor and Description |
|---|
SNSEvent()
default constructor
(Not available in v1)
|
| Modifier and Type | Method and Description |
|---|---|
SNSEvent |
clone() |
boolean |
equals(Object obj) |
List<SNSEvent.SNSRecord> |
getRecords()
Gets the list of SNS records
|
int |
hashCode() |
void |
setRecords(List<SNSEvent.SNSRecord> records)
Sets a list of SNS records
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SNSEvent |
withRecords(List<SNSEvent.SNSRecord> records) |
public List<SNSEvent.SNSRecord> getRecords()
public void setRecords(List<SNSEvent.SNSRecord> records)
records - A list of SNS record objectspublic SNSEvent withRecords(List<SNSEvent.SNSRecord> records)
records - a List of SNSRecordspublic String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.