@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WriteApplicationSettingsRequest extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the default settings for an application.
Constructor and Description |
---|
WriteApplicationSettingsRequest() |
Modifier and Type | Method and Description |
---|---|
WriteApplicationSettingsRequest |
clone() |
boolean |
equals(Object obj) |
CampaignHook |
getCampaignHook()
The settings for the AWS Lambda function to use by default as a code hook for campaigns in the application.
|
Boolean |
getCloudWatchMetricsEnabled()
Specifies whether to enable application-related alarms in Amazon CloudWatch.
|
CampaignLimits |
getLimits()
The default sending limits for campaigns in the application.
|
QuietTime |
getQuietTime()
The default quiet time for campaigns in the application.
|
int |
hashCode() |
Boolean |
isCloudWatchMetricsEnabled()
Specifies whether to enable application-related alarms in Amazon CloudWatch.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCampaignHook(CampaignHook campaignHook)
The settings for the AWS Lambda function to use by default as a code hook for campaigns in the application.
|
void |
setCloudWatchMetricsEnabled(Boolean cloudWatchMetricsEnabled)
Specifies whether to enable application-related alarms in Amazon CloudWatch.
|
void |
setLimits(CampaignLimits limits)
The default sending limits for campaigns in the application.
|
void |
setQuietTime(QuietTime quietTime)
The default quiet time for campaigns in the application.
|
String |
toString()
Returns a string representation of this object.
|
WriteApplicationSettingsRequest |
withCampaignHook(CampaignHook campaignHook)
The settings for the AWS Lambda function to use by default as a code hook for campaigns in the application.
|
WriteApplicationSettingsRequest |
withCloudWatchMetricsEnabled(Boolean cloudWatchMetricsEnabled)
Specifies whether to enable application-related alarms in Amazon CloudWatch.
|
WriteApplicationSettingsRequest |
withLimits(CampaignLimits limits)
The default sending limits for campaigns in the application.
|
WriteApplicationSettingsRequest |
withQuietTime(QuietTime quietTime)
The default quiet time for campaigns in the application.
|
public void setCampaignHook(CampaignHook campaignHook)
The settings for the AWS Lambda function to use by default as a code hook for campaigns in the application. To override these settings for a specific campaign, use the Campaign resource to define custom Lambda function settings for the campaign.
campaignHook
- The settings for the AWS Lambda function to use by default as a code hook for campaigns in the
application. To override these settings for a specific campaign, use the Campaign resource to define custom Lambda
function settings for the campaign.public CampaignHook getCampaignHook()
The settings for the AWS Lambda function to use by default as a code hook for campaigns in the application. To override these settings for a specific campaign, use the Campaign resource to define custom Lambda function settings for the campaign.
public WriteApplicationSettingsRequest withCampaignHook(CampaignHook campaignHook)
The settings for the AWS Lambda function to use by default as a code hook for campaigns in the application. To override these settings for a specific campaign, use the Campaign resource to define custom Lambda function settings for the campaign.
campaignHook
- The settings for the AWS Lambda function to use by default as a code hook for campaigns in the
application. To override these settings for a specific campaign, use the Campaign resource to define custom Lambda
function settings for the campaign.public void setCloudWatchMetricsEnabled(Boolean cloudWatchMetricsEnabled)
Specifies whether to enable application-related alarms in Amazon CloudWatch.
cloudWatchMetricsEnabled
- Specifies whether to enable application-related alarms in Amazon CloudWatch.public Boolean getCloudWatchMetricsEnabled()
Specifies whether to enable application-related alarms in Amazon CloudWatch.
public WriteApplicationSettingsRequest withCloudWatchMetricsEnabled(Boolean cloudWatchMetricsEnabled)
Specifies whether to enable application-related alarms in Amazon CloudWatch.
cloudWatchMetricsEnabled
- Specifies whether to enable application-related alarms in Amazon CloudWatch.public Boolean isCloudWatchMetricsEnabled()
Specifies whether to enable application-related alarms in Amazon CloudWatch.
public void setLimits(CampaignLimits limits)
The default sending limits for campaigns in the application. To override these limits for a specific campaign, use the Campaign resource to define custom limits for the campaign.
limits
- The default sending limits for campaigns in the application. To override these limits for a specific
campaign, use the Campaign resource to
define custom limits for the campaign.public CampaignLimits getLimits()
The default sending limits for campaigns in the application. To override these limits for a specific campaign, use the Campaign resource to define custom limits for the campaign.
public WriteApplicationSettingsRequest withLimits(CampaignLimits limits)
The default sending limits for campaigns in the application. To override these limits for a specific campaign, use the Campaign resource to define custom limits for the campaign.
limits
- The default sending limits for campaigns in the application. To override these limits for a specific
campaign, use the Campaign resource to
define custom limits for the campaign.public void setQuietTime(QuietTime quietTime)
The default quiet time for campaigns in the application. Quiet time is a specific time range when campaigns don't send messages to endpoints, if all the following conditions are met:
The EndpointDemographic.Timezone property of the endpoint is set to a valid value.
The current time in the endpoint's time zone is later than or equal to the time specified by the QuietTime.Start property for the application (or a campaign that has custom quiet time settings).
The current time in the endpoint's time zone is earlier than or equal to the time specified by the QuietTime.End property for the application (or a campaign that has custom quiet time settings).
If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign, even if quiet time is enabled.
To override the default quiet time settings for a specific campaign, use the Campaign resource to define a custom quiet time for the campaign.
quietTime
- The default quiet time for campaigns in the application. Quiet time is a specific time range when
campaigns don't send messages to endpoints, if all the following conditions are met:
The EndpointDemographic.Timezone property of the endpoint is set to a valid value.
The current time in the endpoint's time zone is later than or equal to the time specified by the QuietTime.Start property for the application (or a campaign that has custom quiet time settings).
The current time in the endpoint's time zone is earlier than or equal to the time specified by the QuietTime.End property for the application (or a campaign that has custom quiet time settings).
If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign, even if quiet time is enabled.
To override the default quiet time settings for a specific campaign, use the Campaign resource to define a custom quiet time for the campaign.
public QuietTime getQuietTime()
The default quiet time for campaigns in the application. Quiet time is a specific time range when campaigns don't send messages to endpoints, if all the following conditions are met:
The EndpointDemographic.Timezone property of the endpoint is set to a valid value.
The current time in the endpoint's time zone is later than or equal to the time specified by the QuietTime.Start property for the application (or a campaign that has custom quiet time settings).
The current time in the endpoint's time zone is earlier than or equal to the time specified by the QuietTime.End property for the application (or a campaign that has custom quiet time settings).
If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign, even if quiet time is enabled.
To override the default quiet time settings for a specific campaign, use the Campaign resource to define a custom quiet time for the campaign.
The EndpointDemographic.Timezone property of the endpoint is set to a valid value.
The current time in the endpoint's time zone is later than or equal to the time specified by the QuietTime.Start property for the application (or a campaign that has custom quiet time settings).
The current time in the endpoint's time zone is earlier than or equal to the time specified by the QuietTime.End property for the application (or a campaign that has custom quiet time settings).
If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign, even if quiet time is enabled.
To override the default quiet time settings for a specific campaign, use the Campaign resource to define a custom quiet time for the campaign.
public WriteApplicationSettingsRequest withQuietTime(QuietTime quietTime)
The default quiet time for campaigns in the application. Quiet time is a specific time range when campaigns don't send messages to endpoints, if all the following conditions are met:
The EndpointDemographic.Timezone property of the endpoint is set to a valid value.
The current time in the endpoint's time zone is later than or equal to the time specified by the QuietTime.Start property for the application (or a campaign that has custom quiet time settings).
The current time in the endpoint's time zone is earlier than or equal to the time specified by the QuietTime.End property for the application (or a campaign that has custom quiet time settings).
If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign, even if quiet time is enabled.
To override the default quiet time settings for a specific campaign, use the Campaign resource to define a custom quiet time for the campaign.
quietTime
- The default quiet time for campaigns in the application. Quiet time is a specific time range when
campaigns don't send messages to endpoints, if all the following conditions are met:
The EndpointDemographic.Timezone property of the endpoint is set to a valid value.
The current time in the endpoint's time zone is later than or equal to the time specified by the QuietTime.Start property for the application (or a campaign that has custom quiet time settings).
The current time in the endpoint's time zone is earlier than or equal to the time specified by the QuietTime.End property for the application (or a campaign that has custom quiet time settings).
If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign, even if quiet time is enabled.
To override the default quiet time settings for a specific campaign, use the Campaign resource to define a custom quiet time for the campaign.
public String toString()
toString
in class Object
Object.toString()
public WriteApplicationSettingsRequest 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.