Interface Bounce.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Bounce.Builder,Bounce>, SdkBuilder<Bounce.Builder,Bounce>, SdkPojo
Enclosing class:
Bounce

public static interface Bounce.Builder extends SdkPojo, CopyableBuilder<Bounce.Builder,Bounce>
  • Method Details

    • 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

      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:
    • 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.