Class EventSubscription

    • Constructor Detail

      • EventSubscription

        public EventSubscription()
    • Method Detail

      • setEvent

        public void setEvent​(String event)

        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:
        InspectorEvent
      • getEvent

        public String 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:
        InspectorEvent
      • withEvent

        public EventSubscription withEvent​(String event)

        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:
        InspectorEvent
      • setEvent

        public void setEvent​(InspectorEvent event)

        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:
        InspectorEvent
      • withEvent

        public EventSubscription withEvent​(InspectorEvent event)

        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:
        InspectorEvent
      • setSubscribedAt

        public void setSubscribedAt​(Date subscribedAt)

        The time at which SubscribeToEvent is called.

        Parameters:
        subscribedAt - The time at which SubscribeToEvent is called.
      • withSubscribedAt

        public EventSubscription withSubscribedAt​(Date subscribedAt)

        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

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object