Class CfnApplicationSettingsProps.Builder

java.lang.Object
software.amazon.awscdk.services.pinpoint.CfnApplicationSettingsProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationSettingsProps>
Enclosing interface:
CfnApplicationSettingsProps

@Stability(Stable) public static final class CfnApplicationSettingsProps.Builder extends Object implements software.amazon.jsii.Builder<CfnApplicationSettingsProps>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • applicationId

      @Stability(Stable) public CfnApplicationSettingsProps.Builder applicationId(String applicationId)
      Parameters:
      applicationId - The unique identifier for the Amazon Pinpoint application. This parameter is required.
      Returns:
      this
    • campaignHook

      @Stability(Stable) public CfnApplicationSettingsProps.Builder campaignHook(IResolvable campaignHook)
      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 CfnApplicationSettingsProps.Builder campaignHook(CfnApplicationSettings.CampaignHookProperty campaignHook)
      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 CfnApplicationSettingsProps.Builder cloudWatchMetricsEnabled(Boolean cloudWatchMetricsEnabled)
      Parameters:
      cloudWatchMetricsEnabled - the value to be set.
      Returns:
      this
    • cloudWatchMetricsEnabled

      @Stability(Stable) public CfnApplicationSettingsProps.Builder cloudWatchMetricsEnabled(IResolvable cloudWatchMetricsEnabled)
      Parameters:
      cloudWatchMetricsEnabled - the value to be set.
      Returns:
      this
    • limits

      @Stability(Stable) public CfnApplicationSettingsProps.Builder limits(IResolvable limits)
      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

      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

      @Stability(Stable) public CfnApplicationSettingsProps.Builder quietTime(IResolvable quietTime)
      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.Timezone property 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.Start property 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.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.

      Returns:
      this
    • quietTime

      @Stability(Stable) public CfnApplicationSettingsProps.Builder quietTime(CfnApplicationSettings.QuietTimeProperty quietTime)
      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.Timezone property 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.Start property 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.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.

      Returns:
      this
    • build

      @Stability(Stable) public CfnApplicationSettingsProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnApplicationSettingsProps>
      Returns:
      a new instance of CfnApplicationSettingsProps
      Throws:
      NullPointerException - if any required attribute was not provided