@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Schedule extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
Schedule() |
| Modifier and Type | Method and Description |
|---|---|
Schedule |
clone() |
boolean |
equals(Object obj) |
String |
getEndTime()
The scheduled time that the campaign ends in ISO 8601 format.
|
CampaignEventFilter |
getEventFilter()
Defines the type of events that can trigger the campaign.
|
String |
getFrequency()
How often the campaign delivers messages.
|
Boolean |
getIsLocalTime()
Indicates whether the campaign schedule takes effect according to each user's local time.
|
QuietTime |
getQuietTime()
The default quiet time for the campaign.
|
String |
getStartTime()
The scheduled time that the campaign begins in ISO 8601 format.
|
String |
getTimezone()
The starting UTC offset for the schedule if the value for isLocalTime is true
Valid values: UTC UTC+01 UTC+02 UTC+03 UTC+03:30 UTC+04 UTC+04:30 UTC+05 UTC+05:30 UTC+05:45 UTC+06 UTC+06:30
UTC+07 UTC+08 UTC+09 UTC+09:30 UTC+10 UTC+10:30 UTC+11 UTC+12 UTC+13 UTC-02 UTC-03 UTC-04 UTC-05 UTC-06 UTC-07
UTC-08 UTC-09 UTC-10 UTC-11
|
int |
hashCode() |
Boolean |
isLocalTime()
Indicates whether the campaign schedule takes effect according to each user's local time.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEndTime(String endTime)
The scheduled time that the campaign ends in ISO 8601 format.
|
void |
setEventFilter(CampaignEventFilter eventFilter)
Defines the type of events that can trigger the campaign.
|
void |
setFrequency(Frequency frequency)
How often the campaign delivers messages.
|
void |
setFrequency(String frequency)
How often the campaign delivers messages.
|
void |
setIsLocalTime(Boolean isLocalTime)
Indicates whether the campaign schedule takes effect according to each user's local time.
|
void |
setQuietTime(QuietTime quietTime)
The default quiet time for the campaign.
|
void |
setStartTime(String startTime)
The scheduled time that the campaign begins in ISO 8601 format.
|
void |
setTimezone(String timezone)
The starting UTC offset for the schedule if the value for isLocalTime is true
Valid values: UTC UTC+01 UTC+02 UTC+03 UTC+03:30 UTC+04 UTC+04:30 UTC+05 UTC+05:30 UTC+05:45 UTC+06 UTC+06:30
UTC+07 UTC+08 UTC+09 UTC+09:30 UTC+10 UTC+10:30 UTC+11 UTC+12 UTC+13 UTC-02 UTC-03 UTC-04 UTC-05 UTC-06 UTC-07
UTC-08 UTC-09 UTC-10 UTC-11
|
String |
toString()
Returns a string representation of this object.
|
Schedule |
withEndTime(String endTime)
The scheduled time that the campaign ends in ISO 8601 format.
|
Schedule |
withEventFilter(CampaignEventFilter eventFilter)
Defines the type of events that can trigger the campaign.
|
Schedule |
withFrequency(Frequency frequency)
How often the campaign delivers messages.
|
Schedule |
withFrequency(String frequency)
How often the campaign delivers messages.
|
Schedule |
withIsLocalTime(Boolean isLocalTime)
Indicates whether the campaign schedule takes effect according to each user's local time.
|
Schedule |
withQuietTime(QuietTime quietTime)
The default quiet time for the campaign.
|
Schedule |
withStartTime(String startTime)
The scheduled time that the campaign begins in ISO 8601 format.
|
Schedule |
withTimezone(String timezone)
The starting UTC offset for the schedule if the value for isLocalTime is true
Valid values: UTC UTC+01 UTC+02 UTC+03 UTC+03:30 UTC+04 UTC+04:30 UTC+05 UTC+05:30 UTC+05:45 UTC+06 UTC+06:30
UTC+07 UTC+08 UTC+09 UTC+09:30 UTC+10 UTC+10:30 UTC+11 UTC+12 UTC+13 UTC-02 UTC-03 UTC-04 UTC-05 UTC-06 UTC-07
UTC-08 UTC-09 UTC-10 UTC-11
|
public void setEndTime(String endTime)
endTime - The scheduled time that the campaign ends in ISO 8601 format.public String getEndTime()
public Schedule withEndTime(String endTime)
endTime - The scheduled time that the campaign ends in ISO 8601 format.public void setEventFilter(CampaignEventFilter eventFilter)
eventFilter - Defines the type of events that can trigger the campaign. Used when the Frequency is set to EVENT.public CampaignEventFilter getEventFilter()
public Schedule withEventFilter(CampaignEventFilter eventFilter)
eventFilter - Defines the type of events that can trigger the campaign. Used when the Frequency is set to EVENT.public void setFrequency(String frequency)
frequency - How often the campaign delivers messages.
Valid values:
ONCE
HOURLY
DAILY
WEEKLY
MONTHLY
EVENTFrequencypublic String getFrequency()
Frequencypublic Schedule withFrequency(String frequency)
frequency - How often the campaign delivers messages.
Valid values:
ONCE
HOURLY
DAILY
WEEKLY
MONTHLY
EVENTFrequencypublic void setFrequency(Frequency frequency)
frequency - How often the campaign delivers messages.
Valid values:
ONCE
HOURLY
DAILY
WEEKLY
MONTHLY
EVENTFrequencypublic Schedule withFrequency(Frequency frequency)
frequency - How often the campaign delivers messages.
Valid values:
ONCE
HOURLY
DAILY
WEEKLY
MONTHLY
EVENTFrequencypublic void setIsLocalTime(Boolean isLocalTime)
isLocalTime - Indicates whether the campaign schedule takes effect according to each user's local time.public Boolean getIsLocalTime()
public Schedule withIsLocalTime(Boolean isLocalTime)
isLocalTime - Indicates whether the campaign schedule takes effect according to each user's local time.public Boolean isLocalTime()
public void setQuietTime(QuietTime quietTime)
quietTime - The default quiet time for the campaign. The campaign doesn'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 campaign. 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 a campaign to use quiet time, the campaign doesn'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 campaign. - 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 campaign.public QuietTime getQuietTime()
public Schedule withQuietTime(QuietTime quietTime)
quietTime - The default quiet time for the campaign. The campaign doesn'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 campaign. 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 a campaign to use quiet time, the campaign doesn'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 campaign. - 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 campaign.public void setStartTime(String startTime)
startTime - The scheduled time that the campaign begins in ISO 8601 format.public String getStartTime()
public Schedule withStartTime(String startTime)
startTime - The scheduled time that the campaign begins in ISO 8601 format.public void setTimezone(String timezone)
timezone - The starting UTC offset for the schedule if the value for isLocalTime is true
Valid values: UTC UTC+01 UTC+02 UTC+03 UTC+03:30 UTC+04 UTC+04:30 UTC+05 UTC+05:30 UTC+05:45 UTC+06
UTC+06:30 UTC+07 UTC+08 UTC+09 UTC+09:30 UTC+10 UTC+10:30 UTC+11 UTC+12 UTC+13 UTC-02 UTC-03 UTC-04 UTC-05
UTC-06 UTC-07 UTC-08 UTC-09 UTC-10 UTC-11public String getTimezone()
public Schedule withTimezone(String timezone)
timezone - The starting UTC offset for the schedule if the value for isLocalTime is true
Valid values: UTC UTC+01 UTC+02 UTC+03 UTC+03:30 UTC+04 UTC+04:30 UTC+05 UTC+05:30 UTC+05:45 UTC+06
UTC+06:30 UTC+07 UTC+08 UTC+09 UTC+09:30 UTC+10 UTC+10:30 UTC+11 UTC+12 UTC+13 UTC-02 UTC-03 UTC-04 UTC-05
UTC-06 UTC-07 UTC-08 UTC-09 UTC-10 UTC-11public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.