@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WriteApplicationSettingsRequest extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
WriteApplicationSettingsRequest() |
| Modifier and Type | Method and Description |
|---|---|
WriteApplicationSettingsRequest |
clone() |
boolean |
equals(Object obj) |
CampaignHook |
getCampaignHook()
Default campaign hook information.
|
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() |
Boolean |
isCloudWatchMetricsEnabled()
The CloudWatchMetrics settings for the app.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCampaignHook(CampaignHook campaignHook)
Default campaign hook information.
|
void |
setCloudWatchMetricsEnabled(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.
|
String |
toString()
Returns a string representation of this object.
|
WriteApplicationSettingsRequest |
withCampaignHook(CampaignHook campaignHook)
Default campaign hook information.
|
WriteApplicationSettingsRequest |
withCloudWatchMetricsEnabled(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 void setCampaignHook(CampaignHook campaignHook)
campaignHook - Default campaign hook information.public CampaignHook getCampaignHook()
public WriteApplicationSettingsRequest withCampaignHook(CampaignHook campaignHook)
campaignHook - Default campaign hook information.public void setCloudWatchMetricsEnabled(Boolean cloudWatchMetricsEnabled)
cloudWatchMetricsEnabled - The CloudWatchMetrics settings for the app.public Boolean getCloudWatchMetricsEnabled()
public WriteApplicationSettingsRequest withCloudWatchMetricsEnabled(Boolean cloudWatchMetricsEnabled)
cloudWatchMetricsEnabled - The CloudWatchMetrics settings for the app.public Boolean isCloudWatchMetricsEnabled()
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 CampaignLimits getLimits()
public WriteApplicationSettingsRequest withLimits(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 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 QuietTime getQuietTime()
public WriteApplicationSettingsRequest withQuietTime(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 String toString()
toString in class ObjectObject.toString()public WriteApplicationSettingsRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.