Interface MessageDsn.Builder

    • Method Detail

      • reportingMta

        MessageDsn.Builder reportingMta​(String reportingMta)

        The reporting MTA that attempted to deliver the message, formatted as specified in RFC 3464 (mta-name-type; mta-name). The default value is dns; inbound-smtp.[region].amazonaws.com.

        Parameters:
        reportingMta - The reporting MTA that attempted to deliver the message, formatted as specified in RFC 3464 (mta-name-type; mta-name). The default value is dns; inbound-smtp.[region].amazonaws.com.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arrivalDate

        MessageDsn.Builder arrivalDate​(Instant arrivalDate)

        When the message was received by the reporting mail transfer agent (MTA), in RFC 822 date-time format.

        Parameters:
        arrivalDate - When the message was received by the reporting mail transfer agent (MTA), in RFC 822 date-time format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • extensionFields

        MessageDsn.Builder extensionFields​(Collection<ExtensionField> extensionFields)

        Additional X-headers to include in the DSN.

        Parameters:
        extensionFields - Additional X-headers to include in the DSN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • extensionFields

        MessageDsn.Builder extensionFields​(ExtensionField... extensionFields)

        Additional X-headers to include in the DSN.

        Parameters:
        extensionFields - Additional X-headers to include in the DSN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.