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