@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CampaignLimits extends Object implements Serializable, Cloneable, StructuredPojo
Specifies limits on the messages that a campaign can send.
Constructor and Description |
---|
CampaignLimits() |
Modifier and Type | Method and Description |
---|---|
CampaignLimits |
clone() |
boolean |
equals(Object obj) |
Integer |
getDaily()
The maximum number of messages that a campaign can send to a single endpoint during a 24-hour period.
|
Integer |
getMaximumDuration()
The maximum amount of time, in seconds, that a campaign can attempt to deliver a message after the scheduled
start time for the campaign.
|
Integer |
getMessagesPerSecond()
The maximum number of messages that a campaign can send each second.
|
Integer |
getTotal()
The maximum number of messages that a campaign can send to a single endpoint during the course of the campaign.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDaily(Integer daily)
The maximum number of messages that a campaign can send to a single endpoint during a 24-hour period.
|
void |
setMaximumDuration(Integer maximumDuration)
The maximum amount of time, in seconds, that a campaign can attempt to deliver a message after the scheduled
start time for the campaign.
|
void |
setMessagesPerSecond(Integer messagesPerSecond)
The maximum number of messages that a campaign can send each second.
|
void |
setTotal(Integer total)
The maximum number of messages that a campaign can send to a single endpoint during the course of the campaign.
|
String |
toString()
Returns a string representation of this object.
|
CampaignLimits |
withDaily(Integer daily)
The maximum number of messages that a campaign can send to a single endpoint during a 24-hour period.
|
CampaignLimits |
withMaximumDuration(Integer maximumDuration)
The maximum amount of time, in seconds, that a campaign can attempt to deliver a message after the scheduled
start time for the campaign.
|
CampaignLimits |
withMessagesPerSecond(Integer messagesPerSecond)
The maximum number of messages that a campaign can send each second.
|
CampaignLimits |
withTotal(Integer total)
The maximum number of messages that a campaign can send to a single endpoint during the course of the campaign.
|
public void setDaily(Integer daily)
The maximum number of messages that a campaign can send to a single endpoint during a 24-hour period. The maximum value is 100.
daily
- The maximum number of messages that a campaign can send to a single endpoint during a 24-hour period. The
maximum value is 100.public Integer getDaily()
The maximum number of messages that a campaign can send to a single endpoint during a 24-hour period. The maximum value is 100.
public CampaignLimits withDaily(Integer daily)
The maximum number of messages that a campaign can send to a single endpoint during a 24-hour period. The maximum value is 100.
daily
- The maximum number of messages that a campaign can send to a single endpoint during a 24-hour period. The
maximum value is 100.public void setMaximumDuration(Integer maximumDuration)
The maximum amount of time, in seconds, that a campaign can attempt to deliver a message after the scheduled start time for the campaign. The minimum value is 60 seconds.
maximumDuration
- The maximum amount of time, in seconds, that a campaign can attempt to deliver a message after the
scheduled start time for the campaign. The minimum value is 60 seconds.public Integer getMaximumDuration()
The maximum amount of time, in seconds, that a campaign can attempt to deliver a message after the scheduled start time for the campaign. The minimum value is 60 seconds.
public CampaignLimits withMaximumDuration(Integer maximumDuration)
The maximum amount of time, in seconds, that a campaign can attempt to deliver a message after the scheduled start time for the campaign. The minimum value is 60 seconds.
maximumDuration
- The maximum amount of time, in seconds, that a campaign can attempt to deliver a message after the
scheduled start time for the campaign. The minimum value is 60 seconds.public void setMessagesPerSecond(Integer messagesPerSecond)
The maximum number of messages that a campaign can send each second. The minimum value is 50. The maximum value is 20,000.
messagesPerSecond
- The maximum number of messages that a campaign can send each second. The minimum value is 50. The maximum
value is 20,000.public Integer getMessagesPerSecond()
The maximum number of messages that a campaign can send each second. The minimum value is 50. The maximum value is 20,000.
public CampaignLimits withMessagesPerSecond(Integer messagesPerSecond)
The maximum number of messages that a campaign can send each second. The minimum value is 50. The maximum value is 20,000.
messagesPerSecond
- The maximum number of messages that a campaign can send each second. The minimum value is 50. The maximum
value is 20,000.public void setTotal(Integer total)
The maximum number of messages that a campaign can send to a single endpoint during the course of the campaign. The maximum value is 100.
total
- The maximum number of messages that a campaign can send to a single endpoint during the course of the
campaign. The maximum value is 100.public Integer getTotal()
The maximum number of messages that a campaign can send to a single endpoint during the course of the campaign. The maximum value is 100.
public CampaignLimits withTotal(Integer total)
The maximum number of messages that a campaign can send to a single endpoint during the course of the campaign. The maximum value is 100.
total
- The maximum number of messages that a campaign can send to a single endpoint during the course of the
campaign. The maximum value is 100.public String toString()
toString
in class Object
Object.toString()
public CampaignLimits clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.