Class CfnApplicationSettingsMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pinpoint.CfnApplicationSettingsMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationSettingsMixinProps>
- Enclosing interface:
CfnApplicationSettingsMixinProps
@Stability(Stable)
public static final class CfnApplicationSettingsMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationSettingsMixinProps>
A builder for
CfnApplicationSettingsMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) Sets the value ofCfnApplicationSettingsMixinProps.getApplicationId()build()Builds the configured instance.Sets the value ofCfnApplicationSettingsMixinProps.getCampaignHook()campaignHook(IResolvable campaignHook) Sets the value ofCfnApplicationSettingsMixinProps.getCampaignHook()cloudWatchMetricsEnabled(Boolean cloudWatchMetricsEnabled) Sets the value ofCfnApplicationSettingsMixinProps.getCloudWatchMetricsEnabled()cloudWatchMetricsEnabled(IResolvable cloudWatchMetricsEnabled) Sets the value ofCfnApplicationSettingsMixinProps.getCloudWatchMetricsEnabled()Sets the value ofCfnApplicationSettingsMixinProps.getLimits()limits(IResolvable limits) Sets the value ofCfnApplicationSettingsMixinProps.getLimits()Sets the value ofCfnApplicationSettingsMixinProps.getQuietTime()quietTime(IResolvable quietTime) Sets the value ofCfnApplicationSettingsMixinProps.getQuietTime()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
@Stability(Stable) public CfnApplicationSettingsMixinProps.Builder applicationId(String applicationId) Sets the value ofCfnApplicationSettingsMixinProps.getApplicationId()- Parameters:
applicationId- The unique identifier for the Amazon Pinpoint application.- Returns:
this
-
campaignHook
@Stability(Stable) public CfnApplicationSettingsMixinProps.Builder campaignHook(IResolvable campaignHook) Sets the value ofCfnApplicationSettingsMixinProps.getCampaignHook()- Parameters:
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.- Returns:
this
-
campaignHook
@Stability(Stable) public CfnApplicationSettingsMixinProps.Builder campaignHook(CfnApplicationSettingsPropsMixin.CampaignHookProperty campaignHook) Sets the value ofCfnApplicationSettingsMixinProps.getCampaignHook()- Parameters:
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.- Returns:
this
-
cloudWatchMetricsEnabled
@Stability(Stable) public CfnApplicationSettingsMixinProps.Builder cloudWatchMetricsEnabled(Boolean cloudWatchMetricsEnabled) Sets the value ofCfnApplicationSettingsMixinProps.getCloudWatchMetricsEnabled()- Parameters:
cloudWatchMetricsEnabled- the value to be set.- Returns:
this
-
cloudWatchMetricsEnabled
@Stability(Stable) public CfnApplicationSettingsMixinProps.Builder cloudWatchMetricsEnabled(IResolvable cloudWatchMetricsEnabled) Sets the value ofCfnApplicationSettingsMixinProps.getCloudWatchMetricsEnabled()- Parameters:
cloudWatchMetricsEnabled- the value to be set.- Returns:
this
-
limits
Sets the value ofCfnApplicationSettingsMixinProps.getLimits()- Parameters:
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.- Returns:
this
-
limits
@Stability(Stable) public CfnApplicationSettingsMixinProps.Builder limits(CfnApplicationSettingsPropsMixin.LimitsProperty limits) Sets the value ofCfnApplicationSettingsMixinProps.getLimits()- Parameters:
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.- Returns:
this
-
quietTime
Sets the value ofCfnApplicationSettingsMixinProps.getQuietTime()- Parameters:
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.
- The
- Returns:
this
-
quietTime
@Stability(Stable) public CfnApplicationSettingsMixinProps.Builder quietTime(CfnApplicationSettingsPropsMixin.QuietTimeProperty quietTime) Sets the value ofCfnApplicationSettingsMixinProps.getQuietTime()- Parameters:
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.
- The
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApplicationSettingsMixinProps>- Returns:
- a new instance of
CfnApplicationSettingsMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-