JobSchedule Class
- java.
lang. Object - com.
microsoft. azure. management. sql. JobSchedule
- com.
public class JobSchedule
Scheduling properties of a job.
Constructor Summary
Constructor | Description | |
---|---|---|
JobSchedule() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
enabled()
Get whether or not the schedule is enabled. |
org.joda.time.DateTime |
endTime()
Get schedule end time. |
java.lang.String |
interval()
Get value of the schedule's recurring interval, if the schedule type is recurring. |
org.joda.time.DateTime |
startTime()
Get schedule start time. |
Job |
type()
Get schedule interval type. |
Job |
withEnabled(Boolean enabled)
Set whether or not the schedule is enabled. |
Job |
withEndTime(DateTime endTime)
Set schedule end time. |
Job |
withInterval(String interval)
Set value of the schedule's recurring interval, if the schedule type is recurring. |
Job |
withStartTime(DateTime startTime)
Set schedule start time. |
Job |
withType(JobScheduleType type)
Set schedule interval type. |
Methods inherited from java.lang.Object
Constructor Details
JobSchedule
public JobSchedule()
Method Details
enabled
public Boolean enabled()
Get whether or not the schedule is enabled.
Returns:
endTime
public DateTime endTime()
Get schedule end time.
Returns:
interval
public String interval()
Get value of the schedule's recurring interval, if the schedule type is recurring. ISO8601 duration format.
Returns:
startTime
public DateTime startTime()
Get schedule start time.
Returns:
type
public JobScheduleType type()
Get schedule interval type. Possible values include: 'Once', 'Recurring'.
Returns:
withEnabled
public JobSchedule withEnabled(Boolean enabled)
Set whether or not the schedule is enabled.
Parameters:
Returns:
withEndTime
public JobSchedule withEndTime(DateTime endTime)
Set schedule end time.
Parameters:
Returns:
withInterval
public JobSchedule withInterval(String interval)
Set value of the schedule's recurring interval, if the schedule type is recurring. ISO8601 duration format.
Parameters:
Returns:
withStartTime
public JobSchedule withStartTime(DateTime startTime)
Set schedule start time.
Parameters:
Returns:
withType
public JobSchedule withType(JobScheduleType type)
Set schedule interval type. Possible values include: 'Once', 'Recurring'.
Parameters:
Returns:
Applies to
Azure SDK for Java
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla