public static interface ApplicationSettingsResource.Builder extends SdkPojo, CopyableBuilder<ApplicationSettingsResource.Builder,ApplicationSettingsResource>
copy
applyMutation, build
ApplicationSettingsResource.Builder applicationId(String applicationId)
applicationId
- The unique ID for the application.ApplicationSettingsResource.Builder campaignHook(CampaignHook campaignHook)
campaignHook
- Default campaign hook.default ApplicationSettingsResource.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)
ApplicationSettingsResource.Builder lastModifiedDate(String lastModifiedDate)
lastModifiedDate
- The date that the settings were last updated in ISO 8601 format.ApplicationSettingsResource.Builder limits(CampaignLimits limits)
limits
- The default campaign limits for the app. These limits apply to each campaign for the app, unless the
campaign overrides the default with limits of its own.default ApplicationSettingsResource.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)
ApplicationSettingsResource.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 ApplicationSettingsResource.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.