Enum Metric
- 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 Summary
Enum Constants Enum Constant Description CLICKCOMPLAINTDELIVERYDELIVERY_CLICKDELIVERY_COMPLAINTDELIVERY_OPENOPENPERMANENT_BOUNCESENDTRANSIENT_BOUNCEUNKNOWN_TO_SDK_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetricfromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<Metric>knownValues()StringtoString()static MetricvalueOf(String name)Returns the enum constant of this type with the specified name.static Metric[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static Metric[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Metric c : Metric.values()) System.out.println(c);
- 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 nameNullPointerException- if the argument is null
-
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
-
-