public static interface WriteApplicationSettingsRequest.Builder extends SdkPojo, CopyableBuilder<WriteApplicationSettingsRequest.Builder,WriteApplicationSettingsRequest>
copy
applyMutation, build
WriteApplicationSettingsRequest.Builder campaignHook(CampaignHook campaignHook)
campaignHook
- Default campaign hook information.default WriteApplicationSettingsRequest.Builder campaignHook(Consumer<CampaignHook.Builder> campaignHook)
CampaignHook.Builder
avoiding the need to create one manually via CampaignHook.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to campaignHook(CampaignHook)
.campaignHook
- a consumer that will call methods on CampaignHook.Builder
campaignHook(CampaignHook)
WriteApplicationSettingsRequest.Builder cloudWatchMetricsEnabled(Boolean cloudWatchMetricsEnabled)
cloudWatchMetricsEnabled
- The CloudWatchMetrics settings for the app.WriteApplicationSettingsRequest.Builder limits(CampaignLimits limits)
limits
- The limits that apply to each campaign in the project by default. Campaigns can also have their own
limits, which override the settings at the project level.default WriteApplicationSettingsRequest.Builder limits(Consumer<CampaignLimits.Builder> limits)
CampaignLimits.Builder
avoiding the need to create one manually via CampaignLimits.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to limits(CampaignLimits)
.limits
- a consumer that will call methods on CampaignLimits.Builder
limits(CampaignLimits)
WriteApplicationSettingsRequest.Builder quietTime(QuietTime quietTime)
quietTime
- The default quiet time for the app. Campaigns in the app don't send messages to endpoints during the
quiet time.
Note: Make sure that your endpoints include the Demographics.Timezone attribute if you plan to enable
a quiet time for your app. If your endpoints don't include this attribute, they'll receive the
messages that you send them, even if quiet time is enabled.
When you set up an app to use quiet time, campaigns in that app don't send messages during the time
range you specified, as long as all of the following are true: - The endpoint includes a valid
Demographic.Timezone attribute. - The current time in the endpoint's time zone is later than or equal
to the time specified in the QuietTime.Start attribute for the app (or campaign, if applicable). - The
current time in the endpoint's time zone is earlier than or equal to the time specified in the
QuietTime.End attribute for the app (or campaign, if applicable).
Individual campaigns within the app can have their own quiet time settings, which override the quiet
time settings at the app level.default WriteApplicationSettingsRequest.Builder quietTime(Consumer<QuietTime.Builder> quietTime)
QuietTime.Builder
avoiding the need to create one manually via QuietTime.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to quietTime(QuietTime)
.quietTime
- a consumer that will call methods on QuietTime.Builder
quietTime(QuietTime)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.