@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplicationSettingsResource extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
ApplicationSettingsResource() |
Modifier and Type | Method and Description |
---|---|
ApplicationSettingsResource |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The unique ID for the application.
|
CampaignHook |
getCampaignHook()
Default campaign hook.
|
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationId(String applicationId)
The unique ID for the application.
|
void |
setCampaignHook(CampaignHook campaignHook)
Default campaign hook.
|
void |
setLastModifiedDate(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.
|
String |
toString()
Returns a string representation of this object.
|
ApplicationSettingsResource |
withApplicationId(String applicationId)
The unique ID for the application.
|
ApplicationSettingsResource |
withCampaignHook(CampaignHook campaignHook)
Default campaign hook.
|
ApplicationSettingsResource |
withLastModifiedDate(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 void setApplicationId(String applicationId)
applicationId
- The unique ID for the application.public String getApplicationId()
public ApplicationSettingsResource withApplicationId(String applicationId)
applicationId
- The unique ID for the application.public void setCampaignHook(CampaignHook campaignHook)
campaignHook
- Default campaign hook.public CampaignHook getCampaignHook()
public ApplicationSettingsResource withCampaignHook(CampaignHook campaignHook)
campaignHook
- Default campaign hook.public void setLastModifiedDate(String lastModifiedDate)
lastModifiedDate
- The date that the settings were last updated in ISO 8601 format.public String getLastModifiedDate()
public ApplicationSettingsResource withLastModifiedDate(String lastModifiedDate)
lastModifiedDate
- The date that the settings were last updated in ISO 8601 format.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 CampaignLimits getLimits()
public ApplicationSettingsResource withLimits(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 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 ApplicationSettingsResource 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 Object
Object.toString()
public ApplicationSettingsResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.