Interface SuppressionAttributes.Builder

    • Method Detail

      • suppressedReasonsWithStrings

        SuppressionAttributes.Builder suppressedReasonsWithStrings​(Collection<String> suppressedReasons)

        A list that contains the reasons that email addresses will be 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 will be 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

        SuppressionAttributes.Builder suppressedReasonsWithStrings​(String... suppressedReasons)

        A list that contains the reasons that email addresses will be 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 will be 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

        SuppressionAttributes.Builder suppressedReasons​(Collection<SuppressionListReason> suppressedReasons)

        A list that contains the reasons that email addresses will be 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 will be 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

        SuppressionAttributes.Builder suppressedReasons​(SuppressionListReason... suppressedReasons)

        A list that contains the reasons that email addresses will be 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 will be 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.
      • validationAttributes

        SuppressionAttributes.Builder validationAttributes​(SuppressionValidationAttributes validationAttributes)
        Sets the value of the ValidationAttributes property for this object.
        Parameters:
        validationAttributes - The new value for the ValidationAttributes property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.