public static final class CfnApplicationSettingsProps.Builder
extends java.lang.Object
CfnApplicationSettingsProps
Constructor and Description |
---|
Builder() |
public CfnApplicationSettingsProps.Builder applicationId(java.lang.String applicationId)
CfnApplicationSettingsProps.getApplicationId()
applicationId
- The unique identifier for the Amazon Pinpoint application. This parameter is required.this
public CfnApplicationSettingsProps.Builder campaignHook(IResolvable campaignHook)
CfnApplicationSettingsProps.getCampaignHook()
campaignHook
- The settings for the Lambda function to use by default as a code hook for campaigns in the application.
To override these settings for a specific campaign, use the Campaign resource to define custom Lambda function settings for the campaign.this
public CfnApplicationSettingsProps.Builder campaignHook(CfnApplicationSettings.CampaignHookProperty campaignHook)
CfnApplicationSettingsProps.getCampaignHook()
campaignHook
- The settings for the Lambda function to use by default as a code hook for campaigns in the application.
To override these settings for a specific campaign, use the Campaign resource to define custom Lambda function settings for the campaign.this
public CfnApplicationSettingsProps.Builder cloudWatchMetricsEnabled(java.lang.Boolean cloudWatchMetricsEnabled)
CfnApplicationSettingsProps.getCloudWatchMetricsEnabled()
cloudWatchMetricsEnabled
- Specifies whether to enable application-related alarms in Amazon CloudWatch.this
public CfnApplicationSettingsProps.Builder cloudWatchMetricsEnabled(IResolvable cloudWatchMetricsEnabled)
CfnApplicationSettingsProps.getCloudWatchMetricsEnabled()
cloudWatchMetricsEnabled
- Specifies whether to enable application-related alarms in Amazon CloudWatch.this
public CfnApplicationSettingsProps.Builder limits(IResolvable limits)
CfnApplicationSettingsProps.getLimits()
limits
- The default sending limits for campaigns in the application.
To override these limits for a specific campaign, use the Campaign resource to define custom limits for the campaign.this
public CfnApplicationSettingsProps.Builder limits(CfnApplicationSettings.LimitsProperty limits)
CfnApplicationSettingsProps.getLimits()
limits
- The default sending limits for campaigns in the application.
To override these limits for a specific campaign, use the Campaign resource to define custom limits for the campaign.this
public CfnApplicationSettingsProps.Builder quietTime(IResolvable quietTime)
CfnApplicationSettingsProps.getQuietTime()
quietTime
- The default quiet time for campaigns in the application.
Quiet time is a specific time range when campaigns don't send messages to endpoints, if all the following conditions are met:
EndpointDemographic.Timezone
property of the endpoint is set to a valid value.QuietTime.Start
property for the application (or a campaign that has custom quiet time settings).QuietTime.End
property for the application (or a campaign that has custom quiet time settings).If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign, even if quiet time is enabled.
To override the default quiet time settings for a specific campaign, use the Campaign resource to define a custom quiet time for the campaign.
this
public CfnApplicationSettingsProps.Builder quietTime(CfnApplicationSettings.QuietTimeProperty quietTime)
CfnApplicationSettingsProps.getQuietTime()
quietTime
- The default quiet time for campaigns in the application.
Quiet time is a specific time range when campaigns don't send messages to endpoints, if all the following conditions are met:
EndpointDemographic.Timezone
property of the endpoint is set to a valid value.QuietTime.Start
property for the application (or a campaign that has custom quiet time settings).QuietTime.End
property for the application (or a campaign that has custom quiet time settings).If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign, even if quiet time is enabled.
To override the default quiet time settings for a specific campaign, use the Campaign resource to define a custom quiet time for the campaign.
this
public CfnApplicationSettingsProps build()
CfnApplicationSettingsProps
java.lang.NullPointerException
- if any required attribute was not provided