public static class ScheduleCreateRequest.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder(ISchedule schedule) |
Builder(java.lang.String name) |
Builder(java.lang.String token,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
ScheduleCreateRequest |
build() |
ScheduleCreateRequest.Builder |
withCronSchedule(java.lang.String cronExpression) |
ScheduleCreateRequest.Builder |
withEndDate(java.util.Date endDate) |
ScheduleCreateRequest.Builder |
withSimpleSchedule(java.lang.Long interval,
java.lang.Integer count) |
ScheduleCreateRequest.Builder |
withStartDate(java.util.Date startDate) |
public Builder(ISchedule schedule)
public Builder(java.lang.String name)
public Builder(java.lang.String token, java.lang.String name)
public ScheduleCreateRequest.Builder withSimpleSchedule(java.lang.Long interval, java.lang.Integer count)
public ScheduleCreateRequest.Builder withCronSchedule(java.lang.String cronExpression)
public ScheduleCreateRequest.Builder withStartDate(java.util.Date startDate)
public ScheduleCreateRequest.Builder withEndDate(java.util.Date endDate)
public ScheduleCreateRequest build()