@Generated(value="software.amazon.awssdk:codegen") public final class CampaignLimits extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CampaignLimits.Builder,CampaignLimits>
Specifies limits on the messages that a campaign can send.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CampaignLimits.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CampaignLimits.Builder |
builder() |
Integer |
daily()
The maximum number of messages that a campaign can send to a single endpoint during a 24-hour period.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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.
|
Integer |
messagesPerSecond()
The maximum number of messages that a campaign can send each second.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CampaignLimits.Builder> |
serializableBuilderClass() |
CampaignLimits.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
total()
The maximum number of messages that a campaign can send to a single endpoint during the course of the campaign.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
public 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.
public 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.
public 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.
public CampaignLimits.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CampaignLimits.Builder,CampaignLimits>public static CampaignLimits.Builder builder()
public static Class<? extends CampaignLimits.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.