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
SendDataPointcontains 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 SendDataPointclone()booleanequals(Object obj)LonggetBounces()Number of emails that have bounced.LonggetComplaints()Number of unwanted emails that were rejected by recipients.LonggetDeliveryAttempts()Number of emails that have been enqueued for sending.LonggetRejects()Number of emails rejected by Amazon SES.DategetTimestamp()Time of the data point.inthashCode()voidsetBounces(Long bounces)Number of emails that have bounced.voidsetComplaints(Long complaints)Number of unwanted emails that were rejected by recipients.voidsetDeliveryAttempts(Long deliveryAttempts)Number of emails that have been enqueued for sending.voidsetRejects(Long rejects)Number of emails rejected by Amazon SES.voidsetTimestamp(Date timestamp)Time of the data point.StringtoString()Returns a string representation of this object; useful for testing and debugging.SendDataPointwithBounces(Long bounces)Number of emails that have bounced.SendDataPointwithComplaints(Long complaints)Number of unwanted emails that were rejected by recipients.SendDataPointwithDeliveryAttempts(Long deliveryAttempts)Number of emails that have been enqueued for sending.SendDataPointwithRejects(Long rejects)Number of emails rejected by Amazon SES.SendDataPointwithTimestamp(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public SendDataPoint clone()
-
-