java.lang.Object
java.lang.Enum<Metric>
software.amazon.awssdk.services.sesv2.model.Metric
All Implemented Interfaces:
Serializable, Comparable<Metric>

@Generated("software.amazon.awssdk:codegen") public enum Metric extends Enum<Metric>

The metric to export, can be one of the following:

  • SEND - Emails sent eligible for tracking in the VDM dashboard. This excludes emails sent to the mailbox simulator and emails addressed to more than one recipient.

  • COMPLAINT - Complaints received for your account. This excludes complaints from the mailbox simulator, those originating from your account-level suppression list (if enabled), and those for emails addressed to more than one recipient

  • PERMANENT_BOUNCE - Permanent bounces - i.e., feedback received for emails sent to non-existent mailboxes. Excludes bounces from the mailbox simulator, those originating from your account-level suppression list (if enabled), and those for emails addressed to more than one recipient.

  • TRANSIENT_BOUNCE - Transient bounces - i.e., feedback received for delivery failures excluding issues with non-existent mailboxes. Excludes bounces from the mailbox simulator, and those for emails addressed to more than one recipient.

  • OPEN - Unique open events for emails including open trackers. Excludes opens for emails addressed to more than one recipient.

  • CLICK - Unique click events for emails including wrapped links. Excludes clicks for emails addressed to more than one recipient.

  • DELIVERY - Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator and for emails addressed to more than one recipient.

  • DELIVERY_OPEN - Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator, for emails addressed to more than one recipient, and emails without open trackers.

  • DELIVERY_CLICK - Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator, for emails addressed to more than one recipient, and emails without click trackers.

  • DELIVERY_COMPLAINT - Successful deliveries for email sending attempts. Excludes deliveries to the mailbox simulator, for emails addressed to more than one recipient, and emails addressed to recipients hosted by ISPs with which Amazon SES does not have a feedback loop agreement.

  • Enum Constant Details

    • SEND

      public static final Metric SEND
    • COMPLAINT

      public static final Metric COMPLAINT
    • PERMANENT_BOUNCE

      public static final Metric PERMANENT_BOUNCE
    • TRANSIENT_BOUNCE

      public static final Metric TRANSIENT_BOUNCE
    • OPEN

      public static final Metric OPEN
    • CLICK

      public static final Metric CLICK
    • DELIVERY

      public static final Metric DELIVERY
    • DELIVERY_OPEN

      public static final Metric DELIVERY_OPEN
    • DELIVERY_CLICK

      public static final Metric DELIVERY_CLICK
    • DELIVERY_COMPLAINT

      public static final Metric DELIVERY_COMPLAINT
    • UNKNOWN_TO_SDK_VERSION

      public static final Metric UNKNOWN_TO_SDK_VERSION
  • Method Details

    • values

      public static Metric[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Metric valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Metric>
    • fromValue

      public static Metric fromValue(String value)
      Use this in place of valueOf to convert the raw string returned by the service into the enum value.
      Parameters:
      value - real value
      Returns:
      Metric corresponding to the value
    • knownValues

      public static Set<Metric> knownValues()
      Use this in place of values() to return a Set of all values known to the SDK. This will return all known enum values except UNKNOWN_TO_SDK_VERSION.
      Returns:
      a Set of known Metrics