public class SendDataPoint
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents sending statistics data. Each SendDataPoint
contains
statistics for a 15-minute period of sending activity.
Modifier and Type | Field and Description |
---|---|
private java.lang.Long |
bounces
Number of emails that have bounced.
|
private java.lang.Long |
complaints
Number of unwanted emails that were rejected by recipients.
|
private java.lang.Long |
deliveryAttempts
Number of emails that have been enqueued for sending.
|
private java.lang.Long |
rejects
Number of emails rejected by Amazon SES.
|
private java.util.Date |
timestamp
Time of the data point.
|
Constructor and Description |
---|
SendDataPoint() |
Modifier and Type | Method and Description |
---|---|
SendDataPoint |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getBounces()
Number of emails that have bounced.
|
java.lang.Long |
getComplaints()
Number of unwanted emails that were rejected by recipients.
|
java.lang.Long |
getDeliveryAttempts()
Number of emails that have been enqueued for sending.
|
java.lang.Long |
getRejects()
Number of emails rejected by Amazon SES.
|
java.util.Date |
getTimestamp()
Time of the data point.
|
int |
hashCode() |
void |
setBounces(java.lang.Long bounces)
Number of emails that have bounced.
|
void |
setComplaints(java.lang.Long complaints)
Number of unwanted emails that were rejected by recipients.
|
void |
setDeliveryAttempts(java.lang.Long deliveryAttempts)
Number of emails that have been enqueued for sending.
|
void |
setRejects(java.lang.Long rejects)
Number of emails rejected by Amazon SES.
|
void |
setTimestamp(java.util.Date timestamp)
Time of the data point.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SendDataPoint |
withBounces(java.lang.Long bounces)
Number of emails that have bounced.
|
SendDataPoint |
withComplaints(java.lang.Long complaints)
Number of unwanted emails that were rejected by recipients.
|
SendDataPoint |
withDeliveryAttempts(java.lang.Long deliveryAttempts)
Number of emails that have been enqueued for sending.
|
SendDataPoint |
withRejects(java.lang.Long rejects)
Number of emails rejected by Amazon SES.
|
SendDataPoint |
withTimestamp(java.util.Date timestamp)
Time of the data point.
|
private java.util.Date timestamp
Time of the data point.
private java.lang.Long deliveryAttempts
Number of emails that have been enqueued for sending.
private java.lang.Long bounces
Number of emails that have bounced.
private java.lang.Long complaints
Number of unwanted emails that were rejected by recipients.
private java.lang.Long rejects
Number of emails rejected by Amazon SES.
public void setTimestamp(java.util.Date timestamp)
Time of the data point.
timestamp
- Time of the data point.public java.util.Date getTimestamp()
Time of the data point.
public SendDataPoint withTimestamp(java.util.Date timestamp)
Time of the data point.
timestamp
- Time of the data point.public void setDeliveryAttempts(java.lang.Long deliveryAttempts)
Number of emails that have been enqueued for sending.
deliveryAttempts
- Number of emails that have been enqueued for sending.public java.lang.Long getDeliveryAttempts()
Number of emails that have been enqueued for sending.
public SendDataPoint withDeliveryAttempts(java.lang.Long deliveryAttempts)
Number of emails that have been enqueued for sending.
deliveryAttempts
- Number of emails that have been enqueued for sending.public void setBounces(java.lang.Long bounces)
Number of emails that have bounced.
bounces
- Number of emails that have bounced.public java.lang.Long getBounces()
Number of emails that have bounced.
public SendDataPoint withBounces(java.lang.Long bounces)
Number of emails that have bounced.
bounces
- Number of emails that have bounced.public void setComplaints(java.lang.Long complaints)
Number of unwanted emails that were rejected by recipients.
complaints
- Number of unwanted emails that were rejected by recipients.public java.lang.Long getComplaints()
Number of unwanted emails that were rejected by recipients.
public SendDataPoint withComplaints(java.lang.Long complaints)
Number of unwanted emails that were rejected by recipients.
complaints
- Number of unwanted emails that were rejected by recipients.public void setRejects(java.lang.Long rejects)
Number of emails rejected by Amazon SES.
rejects
- Number of emails rejected by Amazon SES.public java.lang.Long getRejects()
Number of emails rejected by Amazon SES.
public SendDataPoint withRejects(java.lang.Long rejects)
Number of emails rejected by Amazon SES.
rejects
- Number of emails rejected by Amazon SES.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public SendDataPoint clone()
clone
in class java.lang.Object