public class ApplicationSettingsResource
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ApplicationSettingsResource() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getApplicationId()
The unique ID for the application.
|
CampaignHook |
getCampaignHook()
Default campaign hook.
|
java.lang.String |
getLastModifiedDate()
The date that the settings were last updated in ISO 8601 format.
|
CampaignLimits |
getLimits()
The default campaign limits for the app.
|
QuietTime |
getQuietTime()
The default quiet time for the app.
|
int |
hashCode() |
void |
setApplicationId(java.lang.String applicationId)
The unique ID for the application.
|
void |
setCampaignHook(CampaignHook campaignHook)
Default campaign hook.
|
void |
setLastModifiedDate(java.lang.String lastModifiedDate)
The date that the settings were last updated in ISO 8601 format.
|
void |
setLimits(CampaignLimits limits)
The default campaign limits for the app.
|
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.
|
ApplicationSettingsResource |
withApplicationId(java.lang.String applicationId)
The unique ID for the application.
|
ApplicationSettingsResource |
withCampaignHook(CampaignHook campaignHook)
Default campaign hook.
|
ApplicationSettingsResource |
withLastModifiedDate(java.lang.String lastModifiedDate)
The date that the settings were last updated in ISO 8601 format.
|
ApplicationSettingsResource |
withLimits(CampaignLimits limits)
The default campaign limits for the app.
|
ApplicationSettingsResource |
withQuietTime(QuietTime quietTime)
The default quiet time for the app.
|
public java.lang.String getApplicationId()
public void setApplicationId(java.lang.String applicationId)
applicationId
- The unique ID for the application.public ApplicationSettingsResource withApplicationId(java.lang.String applicationId)
Returns a reference to this object so that method calls can be chained together.
applicationId
- The unique ID for the application.public CampaignHook getCampaignHook()
public void setCampaignHook(CampaignHook campaignHook)
campaignHook
- Default campaign hook.public ApplicationSettingsResource withCampaignHook(CampaignHook campaignHook)
Returns a reference to this object so that method calls can be chained together.
campaignHook
- Default campaign hook.public java.lang.String getLastModifiedDate()
public void setLastModifiedDate(java.lang.String lastModifiedDate)
lastModifiedDate
- The date that the settings were last updated in
ISO 8601 format.public ApplicationSettingsResource withLastModifiedDate(java.lang.String lastModifiedDate)
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate
- The date that the settings were last updated in
ISO 8601 format.public CampaignLimits getLimits()
public void setLimits(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.public ApplicationSettingsResource withLimits(CampaignLimits limits)
Returns a reference to this object so that method calls can be chained together.
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.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 ApplicationSettingsResource 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.