@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CampaignLimits extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
CampaignLimits() |
| Modifier and Type | Method and Description |
|---|---|
CampaignLimits |
clone() |
boolean |
equals(Object obj) |
Integer |
getDaily()
The maximum number of messages that the campaign can send daily.
|
Integer |
getMaximumDuration()
The length of time (in seconds) that the campaign can run before it ends and message deliveries stop.
|
Integer |
getMessagesPerSecond()
The number of messages that the campaign can send per second.
|
Integer |
getTotal()
The maximum total number of messages that the campaign can send.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDaily(Integer daily)
The maximum number of messages that the campaign can send daily.
|
void |
setMaximumDuration(Integer maximumDuration)
The length of time (in seconds) that the campaign can run before it ends and message deliveries stop.
|
void |
setMessagesPerSecond(Integer messagesPerSecond)
The number of messages that the campaign can send per second.
|
void |
setTotal(Integer total)
The maximum total number of messages that the campaign can send.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CampaignLimits |
withDaily(Integer daily)
The maximum number of messages that the campaign can send daily.
|
CampaignLimits |
withMaximumDuration(Integer maximumDuration)
The length of time (in seconds) that the campaign can run before it ends and message deliveries stop.
|
CampaignLimits |
withMessagesPerSecond(Integer messagesPerSecond)
The number of messages that the campaign can send per second.
|
CampaignLimits |
withTotal(Integer total)
The maximum total number of messages that the campaign can send.
|
public void setDaily(Integer daily)
daily - The maximum number of messages that the campaign can send daily.public Integer getDaily()
public CampaignLimits withDaily(Integer daily)
daily - The maximum number of messages that the campaign can send daily.public void setMaximumDuration(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 Integer getMaximumDuration()
public CampaignLimits withMaximumDuration(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 void setMessagesPerSecond(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 Integer getMessagesPerSecond()
public CampaignLimits withMessagesPerSecond(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 void setTotal(Integer total)
total - The maximum total number of messages that the campaign can send.public Integer getTotal()
public CampaignLimits withTotal(Integer total)
total - The maximum total number of messages that the campaign can send.public String toString()
toString in class ObjectObject.toString()public CampaignLimits clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.