com.amazonaws.services.simpleemail.model
Class GetSendQuotaResult

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

public class GetSendQuotaResult
extends Object

Represents the user's current activity limits returned from a successful GetSendQuota request.


Constructor Summary
GetSendQuotaResult()
           
 
Method Summary
 boolean equals(Object obj)
           
 Double getMax24HourSend()
          The maximum number of emails the user is allowed to send in a 24-hour interval.
 Double getMaxSendRate()
          The maximum number of emails the user is allowed to send per second.
 Double getSentLast24Hours()
          The number of emails sent during the previous 24 hours.
 int hashCode()
           
 void setMax24HourSend(Double max24HourSend)
          The maximum number of emails the user is allowed to send in a 24-hour interval.
 void setMaxSendRate(Double maxSendRate)
          The maximum number of emails the user is allowed to send per second.
 void setSentLast24Hours(Double sentLast24Hours)
          The number of emails sent during the previous 24 hours.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 GetSendQuotaResult withMax24HourSend(Double max24HourSend)
          The maximum number of emails the user is allowed to send in a 24-hour interval.
 GetSendQuotaResult withMaxSendRate(Double maxSendRate)
          The maximum number of emails the user is allowed to send per second.
 GetSendQuotaResult withSentLast24Hours(Double sentLast24Hours)
          The number of emails sent during the previous 24 hours.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetSendQuotaResult

public GetSendQuotaResult()
Method Detail

getMax24HourSend

public Double getMax24HourSend()
The maximum number of emails the user is allowed to send in a 24-hour interval.

Returns:
The maximum number of emails the user is allowed to send in a 24-hour interval.

setMax24HourSend

public void setMax24HourSend(Double max24HourSend)
The maximum number of emails the user is allowed to send in a 24-hour interval.

Parameters:
max24HourSend - The maximum number of emails the user is allowed to send in a 24-hour interval.

withMax24HourSend

public GetSendQuotaResult withMax24HourSend(Double max24HourSend)
The maximum number of emails the user is allowed to send in a 24-hour interval.

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

Parameters:
max24HourSend - The maximum number of emails the user is allowed to send in a 24-hour interval.
Returns:
A reference to this updated object so that method calls can be chained together.

getMaxSendRate

public Double getMaxSendRate()
The maximum number of emails the user is allowed to send per second.

Returns:
The maximum number of emails the user is allowed to send per second.

setMaxSendRate

public void setMaxSendRate(Double maxSendRate)
The maximum number of emails the user is allowed to send per second.

Parameters:
maxSendRate - The maximum number of emails the user is allowed to send per second.

withMaxSendRate

public GetSendQuotaResult withMaxSendRate(Double maxSendRate)
The maximum number of emails the user is allowed to send per second.

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

Parameters:
maxSendRate - The maximum number of emails the user is allowed to send per second.
Returns:
A reference to this updated object so that method calls can be chained together.

getSentLast24Hours

public Double getSentLast24Hours()
The number of emails sent during the previous 24 hours.

Returns:
The number of emails sent during the previous 24 hours.

setSentLast24Hours

public void setSentLast24Hours(Double sentLast24Hours)
The number of emails sent during the previous 24 hours.

Parameters:
sentLast24Hours - The number of emails sent during the previous 24 hours.

withSentLast24Hours

public GetSendQuotaResult withSentLast24Hours(Double sentLast24Hours)
The number of emails sent during the previous 24 hours.

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

Parameters:
sentLast24Hours - The number of emails sent during the previous 24 hours.
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.