@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EventSubscription extends Object implements Serializable, Cloneable
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 |
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; useful for testing and debugging.
|
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.InspectorEvent
public String getEvent()
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
InspectorEvent
public 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.InspectorEvent
public 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.InspectorEvent
public 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.InspectorEvent
public 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 Object
Object.toString()
public EventSubscription clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.