Interface BounceAction.Builder

    • Method Detail

      • topicArn

        BounceAction.Builder topicArn​(String topicArn)

        The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. You can find the ARN of a topic by using the ListTopics operation in Amazon SNS.

        For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

        Parameters:
        topicArn - The Amazon Resource Name (ARN) of the Amazon SNS topic to notify when the bounce action is taken. You can find the ARN of a topic by using the ListTopics operation in Amazon SNS.

        For more information about Amazon SNS topics, see the Amazon SNS Developer Guide.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • smtpReplyCode

        BounceAction.Builder smtpReplyCode​(String smtpReplyCode)

        The SMTP reply code, as defined by RFC 5321.

        Parameters:
        smtpReplyCode - The SMTP reply code, as defined by RFC 5321.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • statusCode

        BounceAction.Builder statusCode​(String statusCode)

        The SMTP enhanced status code, as defined by RFC 3463.

        Parameters:
        statusCode - The SMTP enhanced status code, as defined by RFC 3463.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • message

        BounceAction.Builder message​(String message)

        Human-readable text to include in the bounce message.

        Parameters:
        message - Human-readable text to include in the bounce message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sender

        BounceAction.Builder sender​(String sender)

        The email address of the sender of the bounced email. This is the address from which the bounce message is sent.

        Parameters:
        sender - The email address of the sender of the bounced email. This is the address from which the bounce message is sent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.