public class CampaignLimits
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description | 
|---|
| CampaignLimits() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| java.lang.Integer | getDaily()The maximum number of messages that each campaign can send to a single
 endpoint in a 24-hour period. | 
| java.lang.Integer | getMaximumDuration()The length of time (in seconds) that the campaign can run before it ends
 and message deliveries stop. | 
| java.lang.Integer | getMessagesPerSecond()The number of messages that the campaign can send per second. | 
| java.lang.Integer | getTotal()The maximum number of messages that an individual campaign can send to a
 single endpoint over the course of the campaign. | 
| int | hashCode() | 
| void | setDaily(java.lang.Integer daily)The maximum number of messages that each campaign can send to a single
 endpoint in a 24-hour period. | 
| void | setMaximumDuration(java.lang.Integer maximumDuration)The length of time (in seconds) that the campaign can run before it ends
 and message deliveries stop. | 
| void | setMessagesPerSecond(java.lang.Integer messagesPerSecond)The number of messages that the campaign can send per second. | 
| void | setTotal(java.lang.Integer total)The maximum number of messages that an individual campaign can send to a
 single endpoint over the course of the campaign. | 
| java.lang.String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| CampaignLimits | withDaily(java.lang.Integer daily)The maximum number of messages that each campaign can send to a single
 endpoint in a 24-hour period. | 
| CampaignLimits | withMaximumDuration(java.lang.Integer maximumDuration)The length of time (in seconds) that the campaign can run before it ends
 and message deliveries stop. | 
| CampaignLimits | withMessagesPerSecond(java.lang.Integer messagesPerSecond)The number of messages that the campaign can send per second. | 
| CampaignLimits | withTotal(java.lang.Integer total)The maximum number of messages that an individual campaign can send to a
 single endpoint over the course of the campaign. | 
public java.lang.Integer getDaily()
public void setDaily(java.lang.Integer daily)
daily - The maximum number of messages that each campaign can send
            to a single endpoint in a 24-hour period.public CampaignLimits withDaily(java.lang.Integer daily)
Returns a reference to this object so that method calls can be chained together.
daily - The maximum number of messages that each campaign can send
            to a single endpoint in a 24-hour period.public java.lang.Integer getMaximumDuration()
public void setMaximumDuration(java.lang.Integer maximumDuration)
maximumDuration - The length of time (in seconds) that the campaign
            can run before it ends and message deliveries stop. This
            duration begins at the scheduled start time for the campaign.
            The minimum value is 60.public CampaignLimits withMaximumDuration(java.lang.Integer maximumDuration)
Returns a reference to this object so that method calls can be chained together.
maximumDuration - The length of time (in seconds) that the campaign
            can run before it ends and message deliveries stop. This
            duration begins at the scheduled start time for the campaign.
            The minimum value is 60.public java.lang.Integer getMessagesPerSecond()
public void setMessagesPerSecond(java.lang.Integer messagesPerSecond)
messagesPerSecond - The number of messages that the campaign can
            send per second. The minimum value is 50, and the maximum is
            20000.public CampaignLimits withMessagesPerSecond(java.lang.Integer messagesPerSecond)
Returns a reference to this object so that method calls can be chained together.
messagesPerSecond - The number of messages that the campaign can
            send per second. The minimum value is 50, and the maximum is
            20000.public java.lang.Integer getTotal()
public void setTotal(java.lang.Integer total)
total - The maximum number of messages that an individual campaign
            can send to a single endpoint over the course of the campaign.public CampaignLimits withTotal(java.lang.Integer total)
Returns a reference to this object so that method calls can be chained together.
total - The maximum number of messages that an individual campaign
            can send to a single endpoint over the course of the campaign.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.