@Stability(value=Stable) public static final class CfnCampaign.LimitsProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCampaign.LimitsProperty>
CfnCampaign.LimitsProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnCampaign.LimitsProperty |
build()
Builds the configured instance.
|
CfnCampaign.LimitsProperty.Builder |
daily(Number daily)
Sets the value of
CfnCampaign.LimitsProperty.getDaily() |
CfnCampaign.LimitsProperty.Builder |
maximumDuration(Number maximumDuration)
Sets the value of
CfnCampaign.LimitsProperty.getMaximumDuration() |
CfnCampaign.LimitsProperty.Builder |
messagesPerSecond(Number messagesPerSecond)
Sets the value of
CfnCampaign.LimitsProperty.getMessagesPerSecond() |
CfnCampaign.LimitsProperty.Builder |
session(Number session)
Sets the value of
CfnCampaign.LimitsProperty.getSession() |
CfnCampaign.LimitsProperty.Builder |
total(Number total)
Sets the value of
CfnCampaign.LimitsProperty.getTotal() |
@Stability(value=Stable) public CfnCampaign.LimitsProperty.Builder daily(Number daily)
CfnCampaign.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@Stability(value=Stable) public CfnCampaign.LimitsProperty.Builder maximumDuration(Number maximumDuration)
CfnCampaign.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@Stability(value=Stable) public CfnCampaign.LimitsProperty.Builder messagesPerSecond(Number messagesPerSecond)
CfnCampaign.LimitsProperty.getMessagesPerSecond()messagesPerSecond - The maximum number of messages that a campaign can send each second.
The minimum value is 50. The maximum value is 20,000.this@Stability(value=Stable) public CfnCampaign.LimitsProperty.Builder session(Number session)
CfnCampaign.LimitsProperty.getSession()session - `CfnCampaign.LimitsProperty.Session`.this@Stability(value=Stable) public CfnCampaign.LimitsProperty.Builder total(Number total)
CfnCampaign.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@Stability(value=Stable) public CfnCampaign.LimitsProperty build()
build in interface software.amazon.jsii.Builder<CfnCampaign.LimitsProperty>CfnCampaign.LimitsPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.