@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InsightsEvent extends Object implements Serializable, Cloneable, StructuredPojo
An object containing details about a specific event.
Constructor and Description |
---|
InsightsEvent() |
Modifier and Type | Method and Description |
---|---|
InsightsEvent |
clone() |
boolean |
equals(Object obj) |
EventDetails |
getDetails()
Details about bounce or complaint events.
|
Date |
getTimestamp()
The timestamp of the event.
|
String |
getType()
The type of event:
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDetails(EventDetails details)
Details about bounce or complaint events.
|
void |
setTimestamp(Date timestamp)
The timestamp of the event.
|
void |
setType(String type)
The type of event:
|
String |
toString()
Returns a string representation of this object.
|
InsightsEvent |
withDetails(EventDetails details)
Details about bounce or complaint events.
|
InsightsEvent |
withTimestamp(Date timestamp)
The timestamp of the event.
|
InsightsEvent |
withType(EventType type)
The type of event:
|
InsightsEvent |
withType(String type)
The type of event:
|
public void setTimestamp(Date timestamp)
The timestamp of the event.
timestamp
- The timestamp of the event.public Date getTimestamp()
The timestamp of the event.
public InsightsEvent withTimestamp(Date timestamp)
The timestamp of the event.
timestamp
- The timestamp of the event.public void setType(String type)
The type of event:
SEND
- The send request was successful and SES will attempt to deliver the message to the
recipient’s mail server. (If account-level or global suppression is being used, SES will still count it as a
send, but delivery is suppressed.)
DELIVERY
- SES successfully delivered the email to the recipient's mail server. Excludes deliveries
to the mailbox simulator, and those from emails addressed to more than one recipient.
BOUNCE
- Feedback received for delivery failures. Additional details about the bounce are provided
in the Details
object. Excludes bounces from the mailbox simulator, and those from emails addressed
to more than one recipient.
COMPLAINT
- Complaint received for the email. Additional details about the complaint are provided in
the Details
object. This excludes complaints from the mailbox simulator, those originating from your
account-level suppression list (if enabled), and those from emails addressed to more than one recipient.
OPEN
- Open event for emails including open trackers. Excludes opens for emails addressed to more
than one recipient.
CLICK
- Click event for emails including wrapped links. Excludes clicks for emails addressed to more
than one recipient.
type
- The type of event:
SEND
- The send request was successful and SES will attempt to deliver the message to the
recipient’s mail server. (If account-level or global suppression is being used, SES will still count it as
a send, but delivery is suppressed.)
DELIVERY
- SES successfully delivered the email to the recipient's mail server. Excludes
deliveries to the mailbox simulator, and those from emails addressed to more than one recipient.
BOUNCE
- Feedback received for delivery failures. Additional details about the bounce are
provided in the Details
object. Excludes bounces from the mailbox simulator, and those from
emails addressed to more than one recipient.
COMPLAINT
- Complaint received for the email. Additional details about the complaint are
provided in the Details
object. This excludes complaints from the mailbox simulator, those
originating from your account-level suppression list (if enabled), and those from emails addressed to more
than one recipient.
OPEN
- Open event for emails including open trackers. Excludes opens for emails addressed to
more than one recipient.
CLICK
- Click event for emails including wrapped links. Excludes clicks for emails addressed
to more than one recipient.
EventType
public String getType()
The type of event:
SEND
- The send request was successful and SES will attempt to deliver the message to the
recipient’s mail server. (If account-level or global suppression is being used, SES will still count it as a
send, but delivery is suppressed.)
DELIVERY
- SES successfully delivered the email to the recipient's mail server. Excludes deliveries
to the mailbox simulator, and those from emails addressed to more than one recipient.
BOUNCE
- Feedback received for delivery failures. Additional details about the bounce are provided
in the Details
object. Excludes bounces from the mailbox simulator, and those from emails addressed
to more than one recipient.
COMPLAINT
- Complaint received for the email. Additional details about the complaint are provided in
the Details
object. This excludes complaints from the mailbox simulator, those originating from your
account-level suppression list (if enabled), and those from emails addressed to more than one recipient.
OPEN
- Open event for emails including open trackers. Excludes opens for emails addressed to more
than one recipient.
CLICK
- Click event for emails including wrapped links. Excludes clicks for emails addressed to more
than one recipient.
SEND
- The send request was successful and SES will attempt to deliver the message to the
recipient’s mail server. (If account-level or global suppression is being used, SES will still count it
as a send, but delivery is suppressed.)
DELIVERY
- SES successfully delivered the email to the recipient's mail server. Excludes
deliveries to the mailbox simulator, and those from emails addressed to more than one recipient.
BOUNCE
- Feedback received for delivery failures. Additional details about the bounce are
provided in the Details
object. Excludes bounces from the mailbox simulator, and those from
emails addressed to more than one recipient.
COMPLAINT
- Complaint received for the email. Additional details about the complaint are
provided in the Details
object. This excludes complaints from the mailbox simulator, those
originating from your account-level suppression list (if enabled), and those from emails addressed to
more than one recipient.
OPEN
- Open event for emails including open trackers. Excludes opens for emails addressed to
more than one recipient.
CLICK
- Click event for emails including wrapped links. Excludes clicks for emails addressed
to more than one recipient.
EventType
public InsightsEvent withType(String type)
The type of event:
SEND
- The send request was successful and SES will attempt to deliver the message to the
recipient’s mail server. (If account-level or global suppression is being used, SES will still count it as a
send, but delivery is suppressed.)
DELIVERY
- SES successfully delivered the email to the recipient's mail server. Excludes deliveries
to the mailbox simulator, and those from emails addressed to more than one recipient.
BOUNCE
- Feedback received for delivery failures. Additional details about the bounce are provided
in the Details
object. Excludes bounces from the mailbox simulator, and those from emails addressed
to more than one recipient.
COMPLAINT
- Complaint received for the email. Additional details about the complaint are provided in
the Details
object. This excludes complaints from the mailbox simulator, those originating from your
account-level suppression list (if enabled), and those from emails addressed to more than one recipient.
OPEN
- Open event for emails including open trackers. Excludes opens for emails addressed to more
than one recipient.
CLICK
- Click event for emails including wrapped links. Excludes clicks for emails addressed to more
than one recipient.
type
- The type of event:
SEND
- The send request was successful and SES will attempt to deliver the message to the
recipient’s mail server. (If account-level or global suppression is being used, SES will still count it as
a send, but delivery is suppressed.)
DELIVERY
- SES successfully delivered the email to the recipient's mail server. Excludes
deliveries to the mailbox simulator, and those from emails addressed to more than one recipient.
BOUNCE
- Feedback received for delivery failures. Additional details about the bounce are
provided in the Details
object. Excludes bounces from the mailbox simulator, and those from
emails addressed to more than one recipient.
COMPLAINT
- Complaint received for the email. Additional details about the complaint are
provided in the Details
object. This excludes complaints from the mailbox simulator, those
originating from your account-level suppression list (if enabled), and those from emails addressed to more
than one recipient.
OPEN
- Open event for emails including open trackers. Excludes opens for emails addressed to
more than one recipient.
CLICK
- Click event for emails including wrapped links. Excludes clicks for emails addressed
to more than one recipient.
EventType
public InsightsEvent withType(EventType type)
The type of event:
SEND
- The send request was successful and SES will attempt to deliver the message to the
recipient’s mail server. (If account-level or global suppression is being used, SES will still count it as a
send, but delivery is suppressed.)
DELIVERY
- SES successfully delivered the email to the recipient's mail server. Excludes deliveries
to the mailbox simulator, and those from emails addressed to more than one recipient.
BOUNCE
- Feedback received for delivery failures. Additional details about the bounce are provided
in the Details
object. Excludes bounces from the mailbox simulator, and those from emails addressed
to more than one recipient.
COMPLAINT
- Complaint received for the email. Additional details about the complaint are provided in
the Details
object. This excludes complaints from the mailbox simulator, those originating from your
account-level suppression list (if enabled), and those from emails addressed to more than one recipient.
OPEN
- Open event for emails including open trackers. Excludes opens for emails addressed to more
than one recipient.
CLICK
- Click event for emails including wrapped links. Excludes clicks for emails addressed to more
than one recipient.
type
- The type of event:
SEND
- The send request was successful and SES will attempt to deliver the message to the
recipient’s mail server. (If account-level or global suppression is being used, SES will still count it as
a send, but delivery is suppressed.)
DELIVERY
- SES successfully delivered the email to the recipient's mail server. Excludes
deliveries to the mailbox simulator, and those from emails addressed to more than one recipient.
BOUNCE
- Feedback received for delivery failures. Additional details about the bounce are
provided in the Details
object. Excludes bounces from the mailbox simulator, and those from
emails addressed to more than one recipient.
COMPLAINT
- Complaint received for the email. Additional details about the complaint are
provided in the Details
object. This excludes complaints from the mailbox simulator, those
originating from your account-level suppression list (if enabled), and those from emails addressed to more
than one recipient.
OPEN
- Open event for emails including open trackers. Excludes opens for emails addressed to
more than one recipient.
CLICK
- Click event for emails including wrapped links. Excludes clicks for emails addressed
to more than one recipient.
EventType
public void setDetails(EventDetails details)
Details about bounce or complaint events.
details
- Details about bounce or complaint events.public EventDetails getDetails()
Details about bounce or complaint events.
public InsightsEvent withDetails(EventDetails details)
Details about bounce or complaint events.
details
- Details about bounce or complaint events.public String toString()
toString
in class Object
Object.toString()
public InsightsEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.