Interface PutConfigurationSetSuppressionOptionsRequest.Builder

  • Method Details

    • configurationSetName

      PutConfigurationSetSuppressionOptionsRequest.Builder configurationSetName(String configurationSetName)

      The name of the configuration set to change the suppression list preferences for.

      Parameters:
      configurationSetName - The name of the configuration set to change the suppression list preferences for.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • suppressionScope

      The suppression scope for the configuration set. This overrides the tenant or account suppression scope for emails sent using this configuration set. Can be one of the following:

      • TENANT – Use the tenant's suppression list.

      • ACCOUNT – Use the account-level suppression list.

      Parameters:
      suppressionScope - The suppression scope for the configuration set. This overrides the tenant or account suppression scope for emails sent using this configuration set. Can be one of the following:

      • TENANT – Use the tenant's suppression list.

      • ACCOUNT – Use 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 configuration set. This overrides the tenant or account suppression scope for emails sent using this configuration set. Can be one of the following:

      • TENANT – Use the tenant's suppression list.

      • ACCOUNT – Use the account-level suppression list.

      Parameters:
      suppressionScope - The suppression scope for the configuration set. This overrides the tenant or account suppression scope for emails sent using this configuration set. Can be one of the following:

      • TENANT – Use the tenant's suppression list.

      • ACCOUNT – Use the account-level suppression list.

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

      PutConfigurationSetSuppressionOptionsRequest.Builder suppressedReasonsWithStrings(Collection<String> suppressedReasons)

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

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

      • COMPLAINT – Amazon SES adds an email address to the suppression list for your account or for a specific tenant 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 or for a specific tenant 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

      PutConfigurationSetSuppressionOptionsRequest.Builder suppressedReasonsWithStrings(String... suppressedReasons)

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

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

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

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

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

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

      • COMPLAINT – Amazon SES adds an email address to the suppression list for your account or for a specific tenant 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 or for a specific tenant 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.
    • validationOptions

      An object that contains information about the email address suppression preferences for the configuration set in the current Amazon Web Services Region.

      Parameters:
      validationOptions - An object that contains information about the email address suppression preferences for the configuration set in the current Amazon Web Services Region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • validationOptions

      An object that contains information about the email address suppression preferences for the configuration set in the current Amazon Web Services Region.

      This is a convenience method that creates an instance of the SuppressionValidationOptions.Builder avoiding the need to create one manually via SuppressionValidationOptions.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to validationOptions(SuppressionValidationOptions).

      Parameters:
      validationOptions - a consumer that will call methods on SuppressionValidationOptions.Builder
      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.