public static final class CfnApplicationSettings.LimitsProperty.Builder
extends java.lang.Object
CfnApplicationSettings.LimitsProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnApplicationSettings.LimitsProperty |
build()
Builds the configured instance.
|
CfnApplicationSettings.LimitsProperty.Builder |
daily(java.lang.Number daily)
Sets the value of
CfnApplicationSettings.LimitsProperty.getDaily() |
CfnApplicationSettings.LimitsProperty.Builder |
maximumDuration(java.lang.Number maximumDuration)
Sets the value of
CfnApplicationSettings.LimitsProperty.getMaximumDuration() |
CfnApplicationSettings.LimitsProperty.Builder |
messagesPerSecond(java.lang.Number messagesPerSecond)
Sets the value of
CfnApplicationSettings.LimitsProperty.getMessagesPerSecond() |
CfnApplicationSettings.LimitsProperty.Builder |
total(java.lang.Number total)
Sets the value of
CfnApplicationSettings.LimitsProperty.getTotal() |
public CfnApplicationSettings.LimitsProperty.Builder daily(java.lang.Number daily)
CfnApplicationSettings.LimitsProperty.getDaily()
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.this
public CfnApplicationSettings.LimitsProperty.Builder maximumDuration(java.lang.Number maximumDuration)
CfnApplicationSettings.LimitsProperty.getMaximumDuration()
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.this
public CfnApplicationSettings.LimitsProperty.Builder messagesPerSecond(java.lang.Number messagesPerSecond)
CfnApplicationSettings.LimitsProperty.getMessagesPerSecond()
messagesPerSecond
- The maximum number of messages that a campaign can send each second.
The minimum value is 1. The maximum value is 20,000.this
public CfnApplicationSettings.LimitsProperty.Builder total(java.lang.Number total)
CfnApplicationSettings.LimitsProperty.getTotal()
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.this
public CfnApplicationSettings.LimitsProperty build()
CfnApplicationSettings.LimitsProperty
java.lang.NullPointerException
- if any required attribute was not provided