@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventSubscription extends Object implements Serializable, Cloneable, StructuredPojo
This data type is used in the Subscription data type.
| Constructor and Description |
|---|
EventSubscription() |
| Modifier and Type | Method and Description |
|---|---|
EventSubscription |
clone() |
boolean |
equals(Object obj) |
String |
getEvent()
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
|
Date |
getSubscribedAt()
The time at which SubscribeToEvent is called.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEvent(InspectorEvent event)
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
|
void |
setEvent(String event)
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
|
void |
setSubscribedAt(Date subscribedAt)
The time at which SubscribeToEvent is called.
|
String |
toString()
Returns a string representation of this object.
|
EventSubscription |
withEvent(InspectorEvent event)
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
|
EventSubscription |
withEvent(String event)
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
|
EventSubscription |
withSubscribedAt(Date subscribedAt)
The time at which SubscribeToEvent is called.
|
public void setEvent(String event)
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
event - The event for which Amazon Simple Notification Service (SNS) notifications are sent.InspectorEventpublic String getEvent()
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
InspectorEventpublic EventSubscription withEvent(String event)
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
event - The event for which Amazon Simple Notification Service (SNS) notifications are sent.InspectorEventpublic void setEvent(InspectorEvent event)
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
event - The event for which Amazon Simple Notification Service (SNS) notifications are sent.InspectorEventpublic EventSubscription withEvent(InspectorEvent event)
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
event - The event for which Amazon Simple Notification Service (SNS) notifications are sent.InspectorEventpublic void setSubscribedAt(Date subscribedAt)
The time at which SubscribeToEvent is called.
subscribedAt - The time at which SubscribeToEvent is called.public Date getSubscribedAt()
The time at which SubscribeToEvent is called.
public EventSubscription withSubscribedAt(Date subscribedAt)
The time at which SubscribeToEvent is called.
subscribedAt - The time at which SubscribeToEvent is called.public String toString()
toString in class ObjectObject.toString()public EventSubscription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.