@Generated(value="software.amazon.awssdk:codegen") public final class WriteApplicationSettingsRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WriteApplicationSettingsRequest.Builder,WriteApplicationSettingsRequest>
Specifies the default settings for an application.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WriteApplicationSettingsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WriteApplicationSettingsRequest.Builder |
builder() |
CampaignHook |
campaignHook()
The settings for the AWS Lambda function to use by default as a code hook for campaigns in the application.
|
Boolean |
cloudWatchMetricsEnabled()
Specifies whether to enable application-related alarms in Amazon CloudWatch.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
CampaignLimits |
limits()
The default sending limits for campaigns in the application.
|
QuietTime |
quietTime()
The default quiet time for campaigns in the application.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends WriteApplicationSettingsRequest.Builder> |
serializableBuilderClass() |
WriteApplicationSettingsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
public Boolean cloudWatchMetricsEnabled()
Specifies whether to enable application-related alarms in Amazon CloudWatch.
public 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.
public 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.
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WriteApplicationSettingsRequest.Builder,WriteApplicationSettingsRequest>public static WriteApplicationSettingsRequest.Builder builder()
public static Class<? extends WriteApplicationSettingsRequest.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.