public static class SNSEvent.SNSRecord extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
SNSRecord()
default constructor
(Not available in v1)
|
| Modifier and Type | Method and Description |
|---|---|
SNSEvent.SNSRecord |
clone() |
boolean |
equals(Object obj) |
String |
getEventSource()
Gets the event source
|
String |
getEventSubscriptionArn()
Gets the event subscription ARN
|
String |
getEventVersion()
Gets the event version
|
SNSEvent.SNS |
getSNS()
Gets the SNS message
|
int |
hashCode() |
void |
setEventSource(String eventSource)
Sets the event source
|
void |
setEventSubscriptionArn(String eventSubscriptionArn)
Sets the event subscription ARN
|
void |
setEventVersion(String eventVersion)
Sets the event version
|
void |
setSns(SNSEvent.SNS sns)
Sets the SNS message
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SNSEvent.SNSRecord |
withEventSource(String eventSource) |
SNSEvent.SNSRecord |
withEventSubscriptionArn(String eventSubscriptionArn) |
SNSEvent.SNSRecord |
withEventVersion(String eventVersion) |
SNSEvent.SNSRecord |
withSns(SNSEvent.SNS sns) |
public SNSEvent.SNS getSNS()
public void setSns(SNSEvent.SNS sns)
sns - An SNS object representing the SNS messagepublic SNSEvent.SNSRecord withSns(SNSEvent.SNS sns)
sns - SNS message objectpublic String getEventVersion()
public void setEventVersion(String eventVersion)
eventVersion - A string containing the event versionpublic SNSEvent.SNSRecord withEventVersion(String eventVersion)
eventVersion - event versionpublic String getEventSource()
public void setEventSource(String eventSource)
eventSource - A string containing the event sourcepublic SNSEvent.SNSRecord withEventSource(String eventSource)
eventSource - event sourcepublic String getEventSubscriptionArn()
public void setEventSubscriptionArn(String eventSubscriptionArn)
eventSubscriptionArn - A string containing the event subscription ARNpublic SNSEvent.SNSRecord withEventSubscriptionArn(String eventSubscriptionArn)
eventSubscriptionArn - event subscription arnpublic String toString()
toString in class ObjectObject.toString()public SNSEvent.SNSRecord clone()
Copyright © 2019. All rights reserved.