Class CfnApplicationSettingsPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationSettingsPropsMixin>
- Enclosing class:
CfnApplicationSettingsPropsMixin
CfnApplicationSettingsPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) The unique identifier for the Amazon Pinpoint application.build()The settings for the Lambda function to use by default as a code hook for campaigns in the application.campaignHook(IResolvable campaignHook) The settings for the Lambda function to use by default as a code hook for campaigns in the application.cloudWatchMetricsEnabled(Boolean cloudWatchMetricsEnabled) cloudWatchMetricsEnabled(IResolvable cloudWatchMetricsEnabled) create()create(CfnPropertyMixinOptions options) The default sending limits for campaigns in the application.limits(IResolvable limits) The default sending limits for campaigns in the application.The default quiet time for campaigns in the application.quietTime(IResolvable quietTime) The default quiet time for campaigns in the application.
-
Method Details
-
create
@Stability(Stable) public static CfnApplicationSettingsPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnApplicationSettingsPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnApplicationSettingsPropsMixin.Builder.
-
applicationId
@Stability(Stable) public CfnApplicationSettingsPropsMixin.Builder applicationId(String applicationId) The unique identifier for the Amazon Pinpoint application.- Parameters:
applicationId- The unique identifier for the Amazon Pinpoint application. This parameter is required.- Returns:
this- See Also:
-
campaignHook
@Stability(Stable) public CfnApplicationSettingsPropsMixin.Builder campaignHook(IResolvable 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.
- Parameters:
campaignHook- The settings for the Lambda function to use by default as a code hook for campaigns in the application. This parameter is required.- Returns:
this- See Also:
-
campaignHook
@Stability(Stable) public CfnApplicationSettingsPropsMixin.Builder campaignHook(CfnApplicationSettingsPropsMixin.CampaignHookProperty 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.
- Parameters:
campaignHook- The settings for the Lambda function to use by default as a code hook for campaigns in the application. This parameter is required.- Returns:
this- See Also:
-
cloudWatchMetricsEnabled
@Stability(Stable) public CfnApplicationSettingsPropsMixin.Builder cloudWatchMetricsEnabled(Boolean cloudWatchMetricsEnabled) - Parameters:
cloudWatchMetricsEnabled- This parameter is required.- Returns:
this- See Also:
-
cloudWatchMetricsEnabled
@Stability(Stable) public CfnApplicationSettingsPropsMixin.Builder cloudWatchMetricsEnabled(IResolvable cloudWatchMetricsEnabled) - Parameters:
cloudWatchMetricsEnabled- This parameter is required.- Returns:
this- See Also:
-
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.
- Parameters:
limits- The default sending limits for campaigns in the application. This parameter is required.- Returns:
this- See Also:
-
limits
@Stability(Stable) public CfnApplicationSettingsPropsMixin.Builder limits(CfnApplicationSettingsPropsMixin.LimitsProperty 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.
- Parameters:
limits- The default sending limits for campaigns in the application. This parameter is required.- Returns:
this- See Also:
-
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:
- The
EndpointDemographic.Timezoneproperty of the endpoint is set to a valid value. - The current time in the endpoint's time zone is later than or equal to the time specified by the
QuietTime.Startproperty for the application (or a campaign that has custom quiet time settings). - The current time in the endpoint's time zone is earlier than or equal to the time specified by the
QuietTime.Endproperty 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.
- Parameters:
quietTime- The default quiet time for campaigns in the application. This parameter is required.- Returns:
this- See Also:
- The
-
quietTime
@Stability(Stable) public CfnApplicationSettingsPropsMixin.Builder quietTime(CfnApplicationSettingsPropsMixin.QuietTimeProperty 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:
- The
EndpointDemographic.Timezoneproperty of the endpoint is set to a valid value. - The current time in the endpoint's time zone is later than or equal to the time specified by the
QuietTime.Startproperty for the application (or a campaign that has custom quiet time settings). - The current time in the endpoint's time zone is earlier than or equal to the time specified by the
QuietTime.Endproperty 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.
- Parameters:
quietTime- The default quiet time for campaigns in the application. This parameter is required.- Returns:
this- See Also:
- The
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationSettingsPropsMixin>- Returns:
- a newly built instance of
CfnApplicationSettingsPropsMixin.
-