Interface TenantSuppressionAttributes.Builder

  • Method Details

    • suppressedReasonsWithStrings

      TenantSuppressionAttributes.Builder suppressedReasonsWithStrings(Collection<String> suppressedReasons)

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

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

      • BOUNCE – Amazon SES adds an email address to the suppression list 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 the tenant. This list can contain any or all of the following:

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

      • BOUNCE – Amazon SES adds an email address to the suppression list 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

      TenantSuppressionAttributes.Builder suppressedReasonsWithStrings(String... suppressedReasons)

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

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

      • BOUNCE – Amazon SES adds an email address to the suppression list 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 the tenant. This list can contain any or all of the following:

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

      • BOUNCE – Amazon SES adds an email address to the suppression list 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

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

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

      • BOUNCE – Amazon SES adds an email address to the suppression list 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 the tenant. This list can contain any or all of the following:

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

      • BOUNCE – Amazon SES adds an email address to the suppression list 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

      TenantSuppressionAttributes.Builder suppressedReasons(SuppressionListReason... suppressedReasons)

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

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

      • BOUNCE – Amazon SES adds an email address to the suppression list 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 the tenant. This list can contain any or all of the following:

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

      • BOUNCE – Amazon SES adds an email address to the suppression list 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.
    • suppressionScope

      TenantSuppressionAttributes.Builder suppressionScope(String suppressionScope)

      The suppression scope for the tenant. Can be one of the following:

      • TENANT – The tenant uses its own suppression list.

      • ACCOUNT – The tenant uses the account-level suppression list.

      If you don't specify a suppression scope, the tenant defaults to ACCOUNT scope and uses the account-level suppression list.

      Parameters:
      suppressionScope - The suppression scope for the tenant. Can be one of the following:

      • TENANT – The tenant uses its own suppression list.

      • ACCOUNT – The tenant uses the account-level suppression list.

      If you don't specify a suppression scope, the tenant defaults to ACCOUNT scope and uses the account-level suppression list.

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

      TenantSuppressionAttributes.Builder suppressionScope(SuppressionListScope suppressionScope)

      The suppression scope for the tenant. Can be one of the following:

      • TENANT – The tenant uses its own suppression list.

      • ACCOUNT – The tenant uses the account-level suppression list.

      If you don't specify a suppression scope, the tenant defaults to ACCOUNT scope and uses the account-level suppression list.

      Parameters:
      suppressionScope - The suppression scope for the tenant. Can be one of the following:

      • TENANT – The tenant uses its own suppression list.

      • ACCOUNT – The tenant uses the account-level suppression list.

      If you don't specify a suppression scope, the tenant defaults to ACCOUNT scope and uses the account-level suppression list.

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