Interface Subscription.Builder

    • Method Detail

      • resourceArn

        Subscription.Builder resourceArn​(String resourceArn)

        The ARN of the assessment template that is used during the event for which the SNS notification is sent.

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

        Subscription.Builder topicArn​(String topicArn)

        The ARN of the Amazon Simple Notification Service (SNS) topic to which the SNS notifications are sent.

        Parameters:
        topicArn - The ARN of the Amazon Simple Notification Service (SNS) topic to which the SNS notifications are sent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventSubscriptions

        Subscription.Builder eventSubscriptions​(Collection<EventSubscription> eventSubscriptions)

        The list of existing event subscriptions.

        Parameters:
        eventSubscriptions - The list of existing event subscriptions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • eventSubscriptions

        Subscription.Builder eventSubscriptions​(EventSubscription... eventSubscriptions)

        The list of existing event subscriptions.

        Parameters:
        eventSubscriptions - The list of existing event subscriptions.
        Returns:
        Returns a reference to this object so that method calls can be chained together.