Class SendDataPoint

    • Constructor Detail

      • SendDataPoint

        public SendDataPoint()
    • 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 class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object