Class EventSubscription
java.lang.Object
com.amazonaws.services.inspector.model.EventSubscription
- All Implemented Interfaces:
Serializable
,Cloneable
This data type is used in the Subscription data type.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getEvent()
The event for which Amazon Simple Notification Service (SNS) notifications are sent.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
The event for which Amazon Simple Notification Service (SNS) notifications are sent.void
setSubscribedAt
(Date subscribedAt) The time at which SubscribeToEvent is called.toString()
Returns a string representation of this object; useful for testing and debugging.withEvent
(InspectorEvent event) The event for which Amazon Simple Notification Service (SNS) notifications are sent.The event for which Amazon Simple Notification Service (SNS) notifications are sent.withSubscribedAt
(Date subscribedAt) The time at which SubscribeToEvent is called.
-
Constructor Details
-
EventSubscription
public EventSubscription()
-
-
Method Details
-
setEvent
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
- Parameters:
event
- The event for which Amazon Simple Notification Service (SNS) notifications are sent.- See Also:
-
getEvent
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
- Returns:
- The event for which Amazon Simple Notification Service (SNS) notifications are sent.
- See Also:
-
withEvent
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
- Parameters:
event
- The event for which Amazon Simple Notification Service (SNS) notifications are sent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setEvent
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
- Parameters:
event
- The event for which Amazon Simple Notification Service (SNS) notifications are sent.- See Also:
-
withEvent
The event for which Amazon Simple Notification Service (SNS) notifications are sent.
- Parameters:
event
- The event for which Amazon Simple Notification Service (SNS) notifications are sent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setSubscribedAt
The time at which SubscribeToEvent is called.
- Parameters:
subscribedAt
- The time at which SubscribeToEvent is called.
-
getSubscribedAt
The time at which SubscribeToEvent is called.
- Returns:
- The time at which SubscribeToEvent is called.
-
withSubscribedAt
The time at which SubscribeToEvent is called.
- Parameters:
subscribedAt
- The time at which SubscribeToEvent is called.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-