@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 invoke by default as a code hook for campaigns in the application.
|
Boolean |
getCloudWatchMetricsEnabled()
Specifies whether to enable application-related alarms in Amazon CloudWatch.
|
Boolean |
getEventTaggingEnabled() |
ApplicationSettingsJourneyLimits |
getJourneyLimits()
The default sending limits for journeys in the application.
|
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.
|
Boolean |
isEventTaggingEnabled() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCampaignHook(CampaignHook campaignHook)
The settings for the AWS Lambda function to invoke 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 |
setEventTaggingEnabled(Boolean eventTaggingEnabled) |
void |
setJourneyLimits(ApplicationSettingsJourneyLimits journeyLimits)
The default sending limits for journeys in the application.
|
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 invoke 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 |
withEventTaggingEnabled(Boolean eventTaggingEnabled) |
WriteApplicationSettingsRequest |
withJourneyLimits(ApplicationSettingsJourneyLimits journeyLimits)
The default sending limits for journeys in the application.
|
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 invoke by default as a code hook for campaigns in the application. You can use this hook to customize segments that are used by campaigns in the application.
To override these settings and define custom settings for a specific campaign, use the CampaignHook object of the Campaign resource.
campaignHook
- The settings for the AWS Lambda function to invoke by default as a code hook for campaigns in the
application. You can use this hook to customize segments that are used by campaigns in the
application.
To override these settings and define custom settings for a specific campaign, use the CampaignHook object of the Campaign resource.
public CampaignHook getCampaignHook()
The settings for the AWS Lambda function to invoke by default as a code hook for campaigns in the application. You can use this hook to customize segments that are used by campaigns in the application.
To override these settings and define custom settings for a specific campaign, use the CampaignHook object of the Campaign resource.
To override these settings and define custom settings for a specific campaign, use the CampaignHook object of the Campaign resource.
public WriteApplicationSettingsRequest withCampaignHook(CampaignHook campaignHook)
The settings for the AWS Lambda function to invoke by default as a code hook for campaigns in the application. You can use this hook to customize segments that are used by campaigns in the application.
To override these settings and define custom settings for a specific campaign, use the CampaignHook object of the Campaign resource.
campaignHook
- The settings for the AWS Lambda function to invoke by default as a code hook for campaigns in the
application. You can use this hook to customize segments that are used by campaigns in the
application.
To override these settings and define custom settings for a specific campaign, use the CampaignHook object of the Campaign resource.
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 setEventTaggingEnabled(Boolean eventTaggingEnabled)
eventTaggingEnabled
- public Boolean getEventTaggingEnabled()
public WriteApplicationSettingsRequest withEventTaggingEnabled(Boolean eventTaggingEnabled)
eventTaggingEnabled
- public Boolean isEventTaggingEnabled()
public void setLimits(CampaignLimits limits)
The default sending limits for campaigns in the application. To override these limits and define custom limits for a specific campaign or journey, use the Campaign resource or the Journey resource, respectively.
limits
- The default sending limits for campaigns in the application. To override these limits and define custom
limits for a specific campaign or journey, use the Campaign resource or the Journey resource, respectively.public CampaignLimits getLimits()
The default sending limits for campaigns in the application. To override these limits and define custom limits for a specific campaign or journey, use the Campaign resource or the Journey resource, respectively.
public WriteApplicationSettingsRequest withLimits(CampaignLimits limits)
The default sending limits for campaigns in the application. To override these limits and define custom limits for a specific campaign or journey, use the Campaign resource or the Journey resource, respectively.
limits
- The default sending limits for campaigns in the application. To override these limits and define custom
limits for a specific campaign or journey, use the Campaign resource or the Journey resource, respectively.public void setQuietTime(QuietTime quietTime)
The default quiet time for campaigns in the application. Quiet time is a specific time range when messages aren't sent 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 or journey 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 or journey that has custom quiet time settings).
If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign or journey, even if quiet time is enabled.
To override the default quiet time settings for a specific campaign or journey, use the Campaign resource or the Journey resource to define a custom quiet time for the campaign or journey.
quietTime
- The default quiet time for campaigns in the application. Quiet time is a specific time range when messages
aren't sent 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 or journey 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 or journey that has custom quiet time settings).
If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign or journey, even if quiet time is enabled.
To override the default quiet time settings for a specific campaign or journey, use the Campaign resource or the Journey resource to define a custom quiet time for the campaign or journey.
public QuietTime getQuietTime()
The default quiet time for campaigns in the application. Quiet time is a specific time range when messages aren't sent 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 or journey 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 or journey that has custom quiet time settings).
If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign or journey, even if quiet time is enabled.
To override the default quiet time settings for a specific campaign or journey, use the Campaign resource or the Journey resource to define a custom quiet time for the campaign or journey.
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 or journey 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 or journey that has custom quiet time settings).
If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign or journey, even if quiet time is enabled.
To override the default quiet time settings for a specific campaign or journey, use the Campaign resource or the Journey resource to define a custom quiet time for the campaign or journey.
public WriteApplicationSettingsRequest withQuietTime(QuietTime quietTime)
The default quiet time for campaigns in the application. Quiet time is a specific time range when messages aren't sent 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 or journey 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 or journey that has custom quiet time settings).
If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign or journey, even if quiet time is enabled.
To override the default quiet time settings for a specific campaign or journey, use the Campaign resource or the Journey resource to define a custom quiet time for the campaign or journey.
quietTime
- The default quiet time for campaigns in the application. Quiet time is a specific time range when messages
aren't sent 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 or journey 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 or journey that has custom quiet time settings).
If any of the preceding conditions isn't met, the endpoint will receive messages from a campaign or journey, even if quiet time is enabled.
To override the default quiet time settings for a specific campaign or journey, use the Campaign resource or the Journey resource to define a custom quiet time for the campaign or journey.
public void setJourneyLimits(ApplicationSettingsJourneyLimits journeyLimits)
The default sending limits for journeys in the application. These limits apply to each journey for the application but can be overridden, on a per journey basis, with the JourneyLimits resource.
journeyLimits
- The default sending limits for journeys in the application. These limits apply to each journey for the
application but can be overridden, on a per journey basis, with the JourneyLimits resource.public ApplicationSettingsJourneyLimits getJourneyLimits()
The default sending limits for journeys in the application. These limits apply to each journey for the application but can be overridden, on a per journey basis, with the JourneyLimits resource.
public WriteApplicationSettingsRequest withJourneyLimits(ApplicationSettingsJourneyLimits journeyLimits)
The default sending limits for journeys in the application. These limits apply to each journey for the application but can be overridden, on a per journey basis, with the JourneyLimits resource.
journeyLimits
- The default sending limits for journeys in the application. These limits apply to each journey for the
application but can be overridden, on a per journey basis, with the JourneyLimits resource.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.