@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.
|
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 time during which the campaign sends no messages.
|
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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndTime(String endTime)
The scheduled time that the campaign ends in ISO 8601 format.
|
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 time during which the campaign sends no messages.
|
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; useful for testing and debugging.
|
Schedule |
withEndTime(String endTime)
The scheduled time that the campaign ends in ISO 8601 format.
|
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 time during which the campaign sends no messages.
|
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 setFrequency(String frequency)
frequency
- How often the campaign delivers messages.
Valid values: ONCE, HOURLY, DAILY, WEEKLY, MONTHLYFrequency
public String getFrequency()
Frequency
public Schedule withFrequency(String frequency)
frequency
- How often the campaign delivers messages.
Valid values: ONCE, HOURLY, DAILY, WEEKLY, MONTHLYFrequency
public void setFrequency(Frequency frequency)
frequency
- How often the campaign delivers messages.
Valid values: ONCE, HOURLY, DAILY, WEEKLY, MONTHLYFrequency
public Schedule withFrequency(Frequency frequency)
frequency
- How often the campaign delivers messages.
Valid values: ONCE, HOURLY, DAILY, WEEKLY, MONTHLYFrequency
public 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 time during which the campaign sends no messages.public QuietTime getQuietTime()
public Schedule withQuietTime(QuietTime quietTime)
quietTime
- The time during which the campaign sends no messages.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 Object
Object.toString()
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.