Interface Bounce.Builder

    • Method Detail

      • bounceType

        Bounce.Builder bounceType​(String bounceType)

        The type of the bounce, as determined by SES. Can be one of UNDETERMINED, TRANSIENT , or PERMANENT

        Parameters:
        bounceType - The type of the bounce, as determined by SES. Can be one of UNDETERMINED, TRANSIENT, or PERMANENT
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BounceType, BounceType
      • bounceType

        Bounce.Builder bounceType​(BounceType bounceType)

        The type of the bounce, as determined by SES. Can be one of UNDETERMINED, TRANSIENT , or PERMANENT

        Parameters:
        bounceType - The type of the bounce, as determined by SES. Can be one of UNDETERMINED, TRANSIENT, or PERMANENT
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BounceType, BounceType
      • bounceSubType

        Bounce.Builder bounceSubType​(String bounceSubType)

        The subtype of the bounce, as determined by SES.

        Parameters:
        bounceSubType - The subtype of the bounce, as determined by SES.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • diagnosticCode

        Bounce.Builder diagnosticCode​(String diagnosticCode)

        The status code issued by the reporting Message Transfer Authority (MTA). This field only appears if a delivery status notification (DSN) was attached to the bounce and the Diagnostic-Code was provided in the DSN.

        Parameters:
        diagnosticCode - The status code issued by the reporting Message Transfer Authority (MTA). This field only appears if a delivery status notification (DSN) was attached to the bounce and the Diagnostic-Code was provided in the DSN.
        Returns:
        Returns a reference to this object so that method calls can be chained together.