public class WriteApplicationSettingsRequest
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
WriteApplicationSettingsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
CampaignHook |
getCampaignHook()
Default campaign hook information.
|
java.lang.Boolean |
getCloudWatchMetricsEnabled()
The CloudWatchMetrics settings for the app.
|
CampaignLimits |
getLimits()
The limits that apply to each campaign in the project by default.
|
QuietTime |
getQuietTime()
The default quiet time for the app.
|
int |
hashCode() |
java.lang.Boolean |
isCloudWatchMetricsEnabled()
The CloudWatchMetrics settings for the app.
|
void |
setCampaignHook(CampaignHook campaignHook)
Default campaign hook information.
|
void |
setCloudWatchMetricsEnabled(java.lang.Boolean cloudWatchMetricsEnabled)
The CloudWatchMetrics settings for the app.
|
void |
setLimits(CampaignLimits limits)
The limits that apply to each campaign in the project by default.
|
void |
setQuietTime(QuietTime quietTime)
The default quiet time for the app.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WriteApplicationSettingsRequest |
withCampaignHook(CampaignHook campaignHook)
Default campaign hook information.
|
WriteApplicationSettingsRequest |
withCloudWatchMetricsEnabled(java.lang.Boolean cloudWatchMetricsEnabled)
The CloudWatchMetrics settings for the app.
|
WriteApplicationSettingsRequest |
withLimits(CampaignLimits limits)
The limits that apply to each campaign in the project by default.
|
WriteApplicationSettingsRequest |
withQuietTime(QuietTime quietTime)
The default quiet time for the app.
|
public CampaignHook getCampaignHook()
public void setCampaignHook(CampaignHook campaignHook)
campaignHook
- Default campaign hook information.public WriteApplicationSettingsRequest withCampaignHook(CampaignHook campaignHook)
Returns a reference to this object so that method calls can be chained together.
campaignHook
- Default campaign hook information.public java.lang.Boolean isCloudWatchMetricsEnabled()
public java.lang.Boolean getCloudWatchMetricsEnabled()
public void setCloudWatchMetricsEnabled(java.lang.Boolean cloudWatchMetricsEnabled)
cloudWatchMetricsEnabled
- The CloudWatchMetrics settings for the
app.public WriteApplicationSettingsRequest withCloudWatchMetricsEnabled(java.lang.Boolean cloudWatchMetricsEnabled)
Returns a reference to this object so that method calls can be chained together.
cloudWatchMetricsEnabled
- The CloudWatchMetrics settings for the
app.public CampaignLimits getLimits()
public void setLimits(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.public WriteApplicationSettingsRequest withLimits(CampaignLimits limits)
Returns a reference to this object so that method calls can be chained together.
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.public QuietTime getQuietTime()
public void setQuietTime(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.public WriteApplicationSettingsRequest withQuietTime(QuietTime quietTime)
Returns a reference to this object so that method calls can be chained together.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.