@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplicationSettingsResource extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about an application, including the default settings for an application.
Constructor and Description |
---|
ApplicationSettingsResource() |
Modifier and Type | Method and Description |
---|---|
ApplicationSettingsResource |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The unique identifier for the application.
|
CampaignHook |
getCampaignHook()
The settings for the AWS Lambda function to invoke by default as a code hook for campaigns in the application.
|
String |
getLastModifiedDate()
The date and time, in ISO 8601 format, when the application's settings were last modified.
|
CampaignLimits |
getLimits()
The default sending limits for campaigns in the application.
|
QuietTime |
getQuietTime()
The default quiet time for campaigns in the application.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationId(String applicationId)
The unique identifier for the application.
|
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 |
setLastModifiedDate(String lastModifiedDate)
The date and time, in ISO 8601 format, when the application's settings were last modified.
|
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.
|
ApplicationSettingsResource |
withApplicationId(String applicationId)
The unique identifier for the application.
|
ApplicationSettingsResource |
withCampaignHook(CampaignHook campaignHook)
The settings for the AWS Lambda function to invoke by default as a code hook for campaigns in the application.
|
ApplicationSettingsResource |
withLastModifiedDate(String lastModifiedDate)
The date and time, in ISO 8601 format, when the application's settings were last modified.
|
ApplicationSettingsResource |
withLimits(CampaignLimits limits)
The default sending limits for campaigns in the application.
|
ApplicationSettingsResource |
withQuietTime(QuietTime quietTime)
The default quiet time for campaigns in the application.
|
public void setApplicationId(String applicationId)
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
applicationId
- The unique identifier for the application. This identifier is displayed as the Project ID on the
Amazon Pinpoint console.public String getApplicationId()
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
public ApplicationSettingsResource withApplicationId(String applicationId)
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
applicationId
- The unique identifier for the application. This identifier is displayed as the Project ID on the
Amazon Pinpoint console.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.
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.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.
public ApplicationSettingsResource 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.
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.public void setLastModifiedDate(String lastModifiedDate)
The date and time, in ISO 8601 format, when the application's settings were last modified.
lastModifiedDate
- The date and time, in ISO 8601 format, when the application's settings were last modified.public String getLastModifiedDate()
The date and time, in ISO 8601 format, when the application's settings were last modified.
public ApplicationSettingsResource withLastModifiedDate(String lastModifiedDate)
The date and time, in ISO 8601 format, when the application's settings were last modified.
lastModifiedDate
- The date and time, in ISO 8601 format, when the application's settings were last modified.public void setLimits(CampaignLimits limits)
The default sending limits for campaigns in the application.
limits
- The default sending limits for campaigns in the application.public CampaignLimits getLimits()
The default sending limits for campaigns in the application.
public ApplicationSettingsResource withLimits(CampaignLimits limits)
The default sending limits for campaigns in the application.
limits
- The default sending limits for campaigns in the application.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.
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.
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.
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.
public ApplicationSettingsResource 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.
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.
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.