Class SendDataPoint
- java.lang.Object
-
- com.amazonaws.services.simpleemail.model.SendDataPoint
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class SendDataPoint extends Object implements Serializable, Cloneable
Represents sending statistics data. Each
SendDataPoint
contains statistics for a 15-minute period of sending activity.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SendDataPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setTimestamp
public void setTimestamp(Date timestamp)
Time of the data point.
- Parameters:
timestamp
- Time of the data point.
-
getTimestamp
public Date getTimestamp()
Time of the data point.
- Returns:
- Time of the data point.
-
withTimestamp
public SendDataPoint withTimestamp(Date timestamp)
Time of the data point.
- Parameters:
timestamp
- Time of the data point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeliveryAttempts
public void setDeliveryAttempts(Long deliveryAttempts)
Number of emails that have been enqueued for sending.
- Parameters:
deliveryAttempts
- Number of emails that have been enqueued for sending.
-
getDeliveryAttempts
public Long getDeliveryAttempts()
Number of emails that have been enqueued for sending.
- Returns:
- Number of emails that have been enqueued for sending.
-
withDeliveryAttempts
public SendDataPoint withDeliveryAttempts(Long deliveryAttempts)
Number of emails that have been enqueued for sending.
- Parameters:
deliveryAttempts
- Number of emails that have been enqueued for sending.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setBounces
public void setBounces(Long bounces)
Number of emails that have bounced.
- Parameters:
bounces
- Number of emails that have bounced.
-
getBounces
public Long getBounces()
Number of emails that have bounced.
- Returns:
- Number of emails that have bounced.
-
withBounces
public SendDataPoint withBounces(Long bounces)
Number of emails that have bounced.
- Parameters:
bounces
- Number of emails that have bounced.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setComplaints
public void setComplaints(Long complaints)
Number of unwanted emails that were rejected by recipients.
- Parameters:
complaints
- Number of unwanted emails that were rejected by recipients.
-
getComplaints
public Long getComplaints()
Number of unwanted emails that were rejected by recipients.
- Returns:
- Number of unwanted emails that were rejected by recipients.
-
withComplaints
public SendDataPoint withComplaints(Long complaints)
Number of unwanted emails that were rejected by recipients.
- Parameters:
complaints
- Number of unwanted emails that were rejected by recipients.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRejects
public void setRejects(Long rejects)
Number of emails rejected by Amazon SES.
- Parameters:
rejects
- Number of emails rejected by Amazon SES.
-
getRejects
public Long getRejects()
Number of emails rejected by Amazon SES.
- Returns:
- Number of emails rejected by Amazon SES.
-
withRejects
public SendDataPoint withRejects(Long rejects)
Number of emails rejected by Amazon SES.
- Parameters:
rejects
- Number of emails rejected by Amazon SES.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SendDataPoint clone()
-
-