public class SendDataPoint
extends java.lang.Object
implements java.io.Serializable
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 |
---|---|
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 sent.
|
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 sent.
|
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 sent.
|
SendDataPoint |
withRejects(java.lang.Long rejects)
Number of emails rejected by Amazon SES.
|
SendDataPoint |
withTimestamp(java.util.Date timestamp)
Time of the data point.
|
public java.util.Date getTimestamp()
Time of the data point.
Time of the data point.
public void setTimestamp(java.util.Date timestamp)
Time of the data point.
timestamp
- Time of the data point.
public SendDataPoint withTimestamp(java.util.Date timestamp)
Time of the data point.
Returns a reference to this object so that method calls can be chained together.
timestamp
- Time of the data point.
public java.lang.Long getDeliveryAttempts()
Number of emails that have been sent.
Number of emails that have been sent.
public void setDeliveryAttempts(java.lang.Long deliveryAttempts)
Number of emails that have been sent.
deliveryAttempts
- Number of emails that have been sent.
public SendDataPoint withDeliveryAttempts(java.lang.Long deliveryAttempts)
Number of emails that have been sent.
Returns a reference to this object so that method calls can be chained together.
deliveryAttempts
- Number of emails that have been sent.
public java.lang.Long getBounces()
Number of emails that have bounced.
Number of emails that have bounced.
public void setBounces(java.lang.Long bounces)
Number of emails that have bounced.
bounces
- Number of emails that have bounced.
public SendDataPoint withBounces(java.lang.Long bounces)
Number of emails that have bounced.
Returns a reference to this object so that method calls can be chained together.
bounces
- Number of emails that have bounced.
public java.lang.Long getComplaints()
Number of unwanted emails that were rejected by recipients.
Number of unwanted emails that were rejected by recipients.
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 SendDataPoint withComplaints(java.lang.Long complaints)
Number of unwanted emails that were rejected by recipients.
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 java.lang.Long getRejects()
Number of emails rejected by Amazon SES.
Number of emails rejected by Amazon SES.
public void setRejects(java.lang.Long rejects)
Number of emails rejected by Amazon SES.
rejects
- Number of emails rejected by Amazon SES.
public SendDataPoint withRejects(java.lang.Long rejects)
Number of emails rejected by Amazon SES.
Returns a reference to this object so that method calls can be chained together.
rejects
- Number of emails rejected by Amazon SES.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.