Interface SuppressionOptions.Builder

  • Method Details

    • suppressedReasonsWithStrings

      SuppressionOptions.Builder suppressedReasonsWithStrings(Collection<String> suppressedReasons)

      A list that contains the reasons that email addresses are automatically added to the suppression list for your account. This list can contain any or all of the following:

      • COMPLAINT – Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint.

      • BOUNCE – Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.

      Parameters:
      suppressedReasons - A list that contains the reasons that email addresses are automatically added to the suppression list for your account. This list can contain any or all of the following:

      • COMPLAINT – Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint.

      • BOUNCE – Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.

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

      SuppressionOptions.Builder suppressedReasonsWithStrings(String... suppressedReasons)

      A list that contains the reasons that email addresses are automatically added to the suppression list for your account. This list can contain any or all of the following:

      • COMPLAINT – Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint.

      • BOUNCE – Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.

      Parameters:
      suppressedReasons - A list that contains the reasons that email addresses are automatically added to the suppression list for your account. This list can contain any or all of the following:

      • COMPLAINT – Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint.

      • BOUNCE – Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.

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

      SuppressionOptions.Builder suppressedReasons(Collection<SuppressionListReason> suppressedReasons)

      A list that contains the reasons that email addresses are automatically added to the suppression list for your account. This list can contain any or all of the following:

      • COMPLAINT – Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint.

      • BOUNCE – Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.

      Parameters:
      suppressedReasons - A list that contains the reasons that email addresses are automatically added to the suppression list for your account. This list can contain any or all of the following:

      • COMPLAINT – Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint.

      • BOUNCE – Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.

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

      SuppressionOptions.Builder suppressedReasons(SuppressionListReason... suppressedReasons)

      A list that contains the reasons that email addresses are automatically added to the suppression list for your account. This list can contain any or all of the following:

      • COMPLAINT – Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint.

      • BOUNCE – Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.

      Parameters:
      suppressedReasons - A list that contains the reasons that email addresses are automatically added to the suppression list for your account. This list can contain any or all of the following:

      • COMPLAINT – Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a complaint.

      • BOUNCE – Amazon SES adds an email address to the suppression list for your account when a message sent to that address results in a hard bounce.

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