Class SubscribeToEventRequest

    • Constructor Detail

      • SubscribeToEventRequest

        public SubscribeToEventRequest()
    • Method Detail

      • setResourceArn

        public void setResourceArn​(String resourceArn)

        The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.

        Parameters:
        resourceArn - The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.
      • getResourceArn

        public String getResourceArn()

        The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.

        Returns:
        The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.
      • withResourceArn

        public SubscribeToEventRequest withResourceArn​(String resourceArn)

        The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.

        Parameters:
        resourceArn - The ARN of the assessment template that is used during the event for which you want to receive SNS notifications.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEvent

        public void setEvent​(String event)

        The event for which you want to receive SNS notifications.

        Parameters:
        event - The event for which you want to receive SNS notifications.
        See Also:
        InspectorEvent
      • getEvent

        public String getEvent()

        The event for which you want to receive SNS notifications.

        Returns:
        The event for which you want to receive SNS notifications.
        See Also:
        InspectorEvent
      • withEvent

        public SubscribeToEventRequest withEvent​(String event)

        The event for which you want to receive SNS notifications.

        Parameters:
        event - The event for which you want to receive SNS notifications.
        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 you want to receive SNS notifications.

        Parameters:
        event - The event for which you want to receive SNS notifications.
        See Also:
        InspectorEvent
      • withEvent

        public SubscribeToEventRequest withEvent​(InspectorEvent event)

        The event for which you want to receive SNS notifications.

        Parameters:
        event - The event for which you want to receive SNS notifications.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InspectorEvent
      • setTopicArn

        public void setTopicArn​(String topicArn)

        The ARN of the SNS topic to which the SNS notifications are sent.

        Parameters:
        topicArn - The ARN of the SNS topic to which the SNS notifications are sent.
      • getTopicArn

        public String getTopicArn()

        The ARN of the SNS topic to which the SNS notifications are sent.

        Returns:
        The ARN of the SNS topic to which the SNS notifications are sent.
      • withTopicArn

        public SubscribeToEventRequest withTopicArn​(String topicArn)

        The ARN of the SNS topic to which the SNS notifications are sent.

        Parameters:
        topicArn - The ARN of the SNS topic to which the SNS notifications are sent.
        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