@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 maximum duration of a campaign from the scheduled start.
|
Integer |
getMessagesPerSecond()
The maximum number of messages per second that the campaign will send.
|
Integer |
getTotal()
The maximum total number of messages that the campaign can send.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDaily(Integer daily)
The maximum number of messages that the campaign can send daily.
|
void |
setMaximumDuration(Integer maximumDuration)
The maximum duration of a campaign from the scheduled start.
|
void |
setMessagesPerSecond(Integer messagesPerSecond)
The maximum number of messages per second that the campaign will send.
|
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 maximum duration of a campaign from the scheduled start.
|
CampaignLimits |
withMessagesPerSecond(Integer messagesPerSecond)
The maximum number of messages per second that the campaign will send.
|
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 maximum duration of a campaign from the scheduled start. Must be a minimum of 60 seconds.public Integer getMaximumDuration()
public CampaignLimits withMaximumDuration(Integer maximumDuration)
maximumDuration
- The maximum duration of a campaign from the scheduled start. Must be a minimum of 60 seconds.public void setMessagesPerSecond(Integer messagesPerSecond)
messagesPerSecond
- The maximum number of messages per second that the campaign will send. This is a best effort maximum cap
and can go as high as 20000 and as low as 50public Integer getMessagesPerSecond()
public CampaignLimits withMessagesPerSecond(Integer messagesPerSecond)
messagesPerSecond
- The maximum number of messages per second that the campaign will send. This is a best effort maximum cap
and can go as high as 20000 and as low as 50public 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 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.