@Generated(value="software.amazon.awssdk:codegen") public final class CampaignLimits extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CampaignLimits.Builder,CampaignLimits>
For a campaign, specifies limits on the messages that the campaign can send. For an application, specifies the default limits for messages that campaigns in the application 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() |
Integer |
session()
The maximum total number of messages that the campaign can send per user session.
|
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 final Integer daily()
The maximum number of messages that a campaign can send to a single endpoint during a 24-hour period. For an application, this value specifies the default limit for the number of messages that campaigns and journeys can send to a single endpoint during a 24-hour period. The maximum value is 100.
public final 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 final Integer messagesPerSecond()
The maximum number of messages that a campaign can send each second. For an application, this value specifies the default limit for the number of messages that campaigns can send each second. The minimum value is 50. The maximum value is 20,000.
public final Integer total()
The maximum number of messages that a campaign can send to a single endpoint during the course of the campaign. If a campaign recurs, this setting applies to all runs of the campaign. The maximum value is 100.
public final Integer session()
The maximum total number of messages that the campaign can send per user session.
public CampaignLimits.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CampaignLimits.Builder,CampaignLimits>public static CampaignLimits.Builder builder()
public static Class<? extends CampaignLimits.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.