ScheduleInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. automation. fluent. models. ScheduleInner
- com.
- com.
public final class ScheduleInner
extends ProxyResource
Definition of the schedule.
Constructor Summary
Constructor | Description | |
---|---|---|
ScheduleInner() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Advanced |
advancedSchedule()
Get the advanced |
Offset |
creationTime()
Get the creation |
String |
description()
Get the description property: Gets or sets the description. |
Offset |
expiryTime()
Get the expiry |
Double |
expiryTimeOffsetMinutes()
Get the expiry |
Schedule |
frequency()
Get the frequency property: Gets or sets the frequency of the schedule. |
Object |
interval()
Get the interval property: Gets or sets the interval of the schedule. |
Boolean |
isEnabled()
Get the is |
Offset |
lastModifiedTime()
Get the last |
Offset |
nextRun()
Get the next |
Double |
nextRunOffsetMinutes()
Get the next |
Offset |
startTime()
Get the start |
Double |
startTimeOffsetMinutes()
Get the start |
String |
timeZone()
Get the time |
void |
validate()
Validates the instance. |
Schedule |
withAdvancedSchedule(AdvancedSchedule advancedSchedule)
Set the advanced |
Schedule |
withCreationTime(OffsetDateTime creationTime)
Set the creation |
Schedule |
withDescription(String description)
Set the description property: Gets or sets the description. |
Schedule |
withExpiryTime(OffsetDateTime expiryTime)
Set the expiry |
Schedule |
withExpiryTimeOffsetMinutes(Double expiryTimeOffsetMinutes)
Set the expiry |
Schedule |
withFrequency(ScheduleFrequency frequency)
Set the frequency property: Gets or sets the frequency of the schedule. |
Schedule |
withInterval(Object interval)
Set the interval property: Gets or sets the interval of the schedule. |
Schedule |
withIsEnabled(Boolean isEnabled)
Set the is |
Schedule |
withLastModifiedTime(OffsetDateTime lastModifiedTime)
Set the last |
Schedule |
withNextRun(OffsetDateTime nextRun)
Set the next |
Schedule |
withNextRunOffsetMinutes(Double nextRunOffsetMinutes)
Set the next |
Schedule |
withStartTime(OffsetDateTime startTime)
Set the start |
Schedule |
withTimeZone(String timeZone)
Set the time |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ScheduleInner
public ScheduleInner()
Method Details
advancedSchedule
public AdvancedSchedule advancedSchedule()
Get the advancedSchedule property: Gets or sets the advanced schedule.
Returns:
creationTime
public OffsetDateTime creationTime()
Get the creationTime property: Gets or sets the creation time.
Returns:
description
public String description()
Get the description property: Gets or sets the description.
Returns:
expiryTime
public OffsetDateTime expiryTime()
Get the expiryTime property: Gets or sets the end time of the schedule.
Returns:
expiryTimeOffsetMinutes
public Double expiryTimeOffsetMinutes()
Get the expiryTimeOffsetMinutes property: Gets or sets the expiry time's offset in minutes.
Returns:
frequency
public ScheduleFrequency frequency()
Get the frequency property: Gets or sets the frequency of the schedule.
Returns:
interval
public Object interval()
Get the interval property: Gets or sets the interval of the schedule.
Returns:
isEnabled
public Boolean isEnabled()
Get the isEnabled property: Gets or sets a value indicating whether this schedule is enabled.
Returns:
lastModifiedTime
public OffsetDateTime lastModifiedTime()
Get the lastModifiedTime property: Gets or sets the last modified time.
Returns:
nextRun
public OffsetDateTime nextRun()
Get the nextRun property: Gets or sets the next run time of the schedule.
Returns:
nextRunOffsetMinutes
public Double nextRunOffsetMinutes()
Get the nextRunOffsetMinutes property: Gets or sets the next run time's offset in minutes.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: Gets or sets the start time of the schedule.
Returns:
startTimeOffsetMinutes
public Double startTimeOffsetMinutes()
Get the startTimeOffsetMinutes property: Gets the start time's offset in minutes.
Returns:
timeZone
public String timeZone()
Get the timeZone property: Gets or sets the time zone of the schedule.
Returns:
validate
public void validate()
Validates the instance.
withAdvancedSchedule
public ScheduleInner withAdvancedSchedule(AdvancedSchedule advancedSchedule)
Set the advancedSchedule property: Gets or sets the advanced schedule.
Parameters:
Returns:
withCreationTime
public ScheduleInner withCreationTime(OffsetDateTime creationTime)
Set the creationTime property: Gets or sets the creation time.
Parameters:
Returns:
withDescription
public ScheduleInner withDescription(String description)
Set the description property: Gets or sets the description.
Parameters:
Returns:
withExpiryTime
public ScheduleInner withExpiryTime(OffsetDateTime expiryTime)
Set the expiryTime property: Gets or sets the end time of the schedule.
Parameters:
Returns:
withExpiryTimeOffsetMinutes
public ScheduleInner withExpiryTimeOffsetMinutes(Double expiryTimeOffsetMinutes)
Set the expiryTimeOffsetMinutes property: Gets or sets the expiry time's offset in minutes.
Parameters:
Returns:
withFrequency
public ScheduleInner withFrequency(ScheduleFrequency frequency)
Set the frequency property: Gets or sets the frequency of the schedule.
Parameters:
Returns:
withInterval
public ScheduleInner withInterval(Object interval)
Set the interval property: Gets or sets the interval of the schedule.
Parameters:
Returns:
withIsEnabled
public ScheduleInner withIsEnabled(Boolean isEnabled)
Set the isEnabled property: Gets or sets a value indicating whether this schedule is enabled.
Parameters:
Returns:
withLastModifiedTime
public ScheduleInner withLastModifiedTime(OffsetDateTime lastModifiedTime)
Set the lastModifiedTime property: Gets or sets the last modified time.
Parameters:
Returns:
withNextRun
public ScheduleInner withNextRun(OffsetDateTime nextRun)
Set the nextRun property: Gets or sets the next run time of the schedule.
Parameters:
Returns:
withNextRunOffsetMinutes
public ScheduleInner withNextRunOffsetMinutes(Double nextRunOffsetMinutes)
Set the nextRunOffsetMinutes property: Gets or sets the next run time's offset in minutes.
Parameters:
Returns:
withStartTime
public ScheduleInner withStartTime(OffsetDateTime startTime)
Set the startTime property: Gets or sets the start time of the schedule.
Parameters:
Returns:
withTimeZone
public ScheduleInner withTimeZone(String timeZone)
Set the timeZone property: Gets or sets the time zone of the schedule.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for