com.amazonaws.services.simpleemail.model
Class SendDataPoint

java.lang.Object
  extended by com.amazonaws.services.simpleemail.model.SendDataPoint

public class SendDataPoint
extends Object

Represents sending statistics data. Each SendDataPoint contains statistics for a 15-minute period of sending activity.


Constructor Summary
SendDataPoint()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SendDataPoint

public SendDataPoint()
Method Detail

getTimestamp

public Date getTimestamp()
Time of the data point.

Returns:
Time of the data point.

setTimestamp

public void setTimestamp(Date timestamp)
Time of the data point.

Parameters:
timestamp - Time of the data point.

withTimestamp

public SendDataPoint withTimestamp(Date timestamp)
Time of the data point.

Returns a reference to this object so that method calls can be chained together.

Parameters:
timestamp - Time of the data point.
Returns:
A reference to this updated object so that method calls can be chained together.

getDeliveryAttempts

public Long getDeliveryAttempts()
Number of emails that have been enqueued for sending.

Returns:
Number of emails that have been enqueued for sending.

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.

withDeliveryAttempts

public SendDataPoint withDeliveryAttempts(Long deliveryAttempts)
Number of emails that have been enqueued for sending.

Returns a reference to this object so that method calls can be chained together.

Parameters:
deliveryAttempts - Number of emails that have been enqueued for sending.
Returns:
A reference to this updated object so that method calls can be chained together.

getBounces

public Long getBounces()
Number of emails that have bounced.

Returns:
Number of emails that have bounced.

setBounces

public void setBounces(Long bounces)
Number of emails that have bounced.

Parameters:
bounces - Number of emails that have bounced.

withBounces

public SendDataPoint withBounces(Long bounces)
Number of emails that have bounced.

Returns a reference to this object so that method calls can be chained together.

Parameters:
bounces - Number of emails that have bounced.
Returns:
A reference to this updated object so that method calls can be chained together.

getComplaints

public Long getComplaints()
Number of unwanted emails that were rejected by recipients.

Returns:
Number of unwanted emails that were rejected by recipients.

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.

withComplaints

public SendDataPoint withComplaints(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.

Parameters:
complaints - Number of unwanted emails that were rejected by recipients.
Returns:
A reference to this updated object so that method calls can be chained together.

getRejects

public Long getRejects()
Number of emails rejected by Amazon SES.

Returns:
Number of emails rejected by Amazon SES.

setRejects

public void setRejects(Long rejects)
Number of emails rejected by Amazon SES.

Parameters:
rejects - Number of emails rejected by Amazon SES.

withRejects

public SendDataPoint withRejects(Long rejects)
Number of emails rejected by Amazon SES.

Returns a reference to this object so that method calls can be chained together.

Parameters:
rejects - Number of emails rejected by Amazon SES.
Returns:
A reference to this updated 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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.