Interface PutTenantSuppressionAttributesRequest.Builder

  • Method Details

    • tenantName

      The name of the tenant to configure suppression list preferences for.

      Parameters:
      tenantName - The name of the tenant to configure suppression list preferences for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • suppressedReasonsWithStrings

      PutTenantSuppressionAttributesRequest.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

      PutTenantSuppressionAttributesRequest.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

      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

      PutTenantSuppressionAttributesRequest.Builder suppressionScope(String suppressionScope)

      The suppression scope for the tenant. Specify TENANT to use the tenant's own suppression list, or ACCOUNT to use 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. Specify TENANT to use the tenant's own suppression list, or ACCOUNT to use 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

      The suppression scope for the tenant. Specify TENANT to use the tenant's own suppression list, or ACCOUNT to use 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. Specify TENANT to use the tenant's own suppression list, or ACCOUNT to use 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:
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.