@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobScheduleFrequency extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the recurrence pattern for running a classification job.
Constructor and Description |
---|
JobScheduleFrequency() |
Modifier and Type | Method and Description |
---|---|
JobScheduleFrequency |
clone() |
boolean |
equals(Object obj) |
DailySchedule |
getDailySchedule()
Run the job once a day, every day.
|
MonthlySchedule |
getMonthlySchedule()
Run the job once a month, on a specific day of the month.
|
WeeklySchedule |
getWeeklySchedule()
Run the job once a week, on a specific day of the week.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDailySchedule(DailySchedule dailySchedule)
Run the job once a day, every day.
|
void |
setMonthlySchedule(MonthlySchedule monthlySchedule)
Run the job once a month, on a specific day of the month.
|
void |
setWeeklySchedule(WeeklySchedule weeklySchedule)
Run the job once a week, on a specific day of the week.
|
String |
toString()
Returns a string representation of this object.
|
JobScheduleFrequency |
withDailySchedule(DailySchedule dailySchedule)
Run the job once a day, every day.
|
JobScheduleFrequency |
withMonthlySchedule(MonthlySchedule monthlySchedule)
Run the job once a month, on a specific day of the month.
|
JobScheduleFrequency |
withWeeklySchedule(WeeklySchedule weeklySchedule)
Run the job once a week, on a specific day of the week.
|
public void setDailySchedule(DailySchedule dailySchedule)
Run the job once a day, every day. If specified, this is an empty object.
dailySchedule
- Run the job once a day, every day. If specified, this is an empty object.public DailySchedule getDailySchedule()
Run the job once a day, every day. If specified, this is an empty object.
public JobScheduleFrequency withDailySchedule(DailySchedule dailySchedule)
Run the job once a day, every day. If specified, this is an empty object.
dailySchedule
- Run the job once a day, every day. If specified, this is an empty object.public void setMonthlySchedule(MonthlySchedule monthlySchedule)
Run the job once a month, on a specific day of the month. This value can be an integer from 1 through 30.
monthlySchedule
- Run the job once a month, on a specific day of the month. This value can be an integer from 1 through 30.public MonthlySchedule getMonthlySchedule()
Run the job once a month, on a specific day of the month. This value can be an integer from 1 through 30.
public JobScheduleFrequency withMonthlySchedule(MonthlySchedule monthlySchedule)
Run the job once a month, on a specific day of the month. This value can be an integer from 1 through 30.
monthlySchedule
- Run the job once a month, on a specific day of the month. This value can be an integer from 1 through 30.public void setWeeklySchedule(WeeklySchedule weeklySchedule)
Run the job once a week, on a specific day of the week. Valid values are: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, and SUNDAY.
weeklySchedule
- Run the job once a week, on a specific day of the week. Valid values are: MONDAY, TUESDAY, WEDNESDAY,
THURSDAY, FRIDAY, SATURDAY, and SUNDAY.public WeeklySchedule getWeeklySchedule()
Run the job once a week, on a specific day of the week. Valid values are: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, and SUNDAY.
public JobScheduleFrequency withWeeklySchedule(WeeklySchedule weeklySchedule)
Run the job once a week, on a specific day of the week. Valid values are: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, and SUNDAY.
weeklySchedule
- Run the job once a week, on a specific day of the week. Valid values are: MONDAY, TUESDAY, WEDNESDAY,
THURSDAY, FRIDAY, SATURDAY, and SUNDAY.public String toString()
toString
in class Object
Object.toString()
public JobScheduleFrequency clone()
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.