Interface Subscriber.Builder

    • Method Detail

      • address

        Subscriber.Builder address​(String address)

        The email address or SNS Amazon Resource Name (ARN). This depends on the Type.

        Parameters:
        address - The email address or SNS Amazon Resource Name (ARN). This depends on the Type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        Subscriber.Builder type​(String type)

        The notification delivery channel.

        Parameters:
        type - The notification delivery channel.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SubscriberType, SubscriberType
      • status

        Subscriber.Builder status​(String status)

        Indicates if the subscriber accepts the notifications.

        Parameters:
        status - Indicates if the subscriber accepts the notifications.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SubscriberStatus, SubscriberStatus
      • status

        Subscriber.Builder status​(SubscriberStatus status)

        Indicates if the subscriber accepts the notifications.

        Parameters:
        status - Indicates if the subscriber accepts the notifications.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SubscriberStatus, SubscriberStatus