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:
  • Constructor Details

    • SendDataPoint

      public SendDataPoint()
  • Method Details

    • 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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public SendDataPoint clone()
      Overrides:
      clone in class Object