Interface PutAccountSuppressionAttributesRequest.Builder

  • Method Details

    • suppressedReasonsWithStrings

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

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

      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

      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

      An object that contains additional suppression attributes for your account.

      Parameters:
      validationAttributes - An object that contains additional suppression attributes for your account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • validationAttributes

      An object that contains additional suppression attributes for your account.

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

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

      Parameters:
      validationAttributes - a consumer that will call methods on SuppressionValidationAttributes.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.