ScheduleInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. devtestlabs. fluent. models. ScheduleInner
- com.
- com.
- com.
public final class ScheduleInner
extends Resource
A schedule.
Constructor Summary
Constructor | Description |
---|---|
ScheduleInner() |
Creates an instance of Schedule |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
createdDate()
Get the created |
Day |
dailyRecurrence()
Get the daily |
Hour |
hourlyRecurrence()
Get the hourly |
Notification |
notificationSettings()
Get the notification |
String |
provisioningState()
Get the provisioning |
Enable |
status()
Get the status property: The status of the schedule (i. |
String |
targetResourceId()
Get the target |
String |
taskType()
Get the task |
String |
timeZoneId()
Get the time |
String |
uniqueIdentifier()
Get the unique |
void |
validate()
Validates the instance. |
Week |
weeklyRecurrence()
Get the weekly |
Schedule |
withDailyRecurrence(DayDetails dailyRecurrence)
Set the daily |
Schedule |
withHourlyRecurrence(HourDetails hourlyRecurrence)
Set the hourly |
Schedule |
withLocation(String location) |
Schedule |
withNotificationSettings(NotificationSettings notificationSettings)
Set the notification |
Schedule |
withStatus(EnableStatus status)
Set the status property: The status of the schedule (i. |
Schedule |
withTags(Map<String,String> tags) |
Schedule |
withTargetResourceId(String targetResourceId)
Set the target |
Schedule |
withTaskType(String taskType)
Set the task |
Schedule |
withTimeZoneId(String timeZoneId)
Set the time |
Schedule |
withWeeklyRecurrence(WeekDetails weeklyRecurrence)
Set the weekly |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ScheduleInner
public ScheduleInner()
Creates an instance of ScheduleInner class.
Method Details
createdDate
public OffsetDateTime createdDate()
Get the createdDate property: The creation date of the schedule.
Returns:
dailyRecurrence
public DayDetails dailyRecurrence()
Get the dailyRecurrence property: If the schedule will occur once each day of the week, specify the daily recurrence.
Returns:
hourlyRecurrence
public HourDetails hourlyRecurrence()
Get the hourlyRecurrence property: If the schedule will occur multiple times a day, specify the hourly recurrence.
Returns:
notificationSettings
public NotificationSettings notificationSettings()
Get the notificationSettings property: Notification settings.
Returns:
provisioningState
public String provisioningState()
Get the provisioningState property: The provisioning status of the resource.
Returns:
status
public EnableStatus status()
Get the status property: The status of the schedule (i.e. Enabled, Disabled).
Returns:
targetResourceId
public String targetResourceId()
Get the targetResourceId property: The resource ID to which the schedule belongs.
Returns:
taskType
public String taskType()
Get the taskType property: The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
Returns:
timeZoneId
public String timeZoneId()
Get the timeZoneId property: The time zone ID (e.g. Pacific Standard time).
Returns:
uniqueIdentifier
public String uniqueIdentifier()
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
Returns:
validate
public void validate()
Validates the instance.
weeklyRecurrence
public WeekDetails weeklyRecurrence()
Get the weeklyRecurrence property: If the schedule will occur only some days of the week, specify the weekly recurrence.
Returns:
withDailyRecurrence
public ScheduleInner withDailyRecurrence(DayDetails dailyRecurrence)
Set the dailyRecurrence property: If the schedule will occur once each day of the week, specify the daily recurrence.
Parameters:
Returns:
withHourlyRecurrence
public ScheduleInner withHourlyRecurrence(HourDetails hourlyRecurrence)
Set the hourlyRecurrence property: If the schedule will occur multiple times a day, specify the hourly recurrence.
Parameters:
Returns:
withLocation
public ScheduleInner withLocation(String location)
Overrides:
ScheduleInner.withLocation(String location)Parameters:
withNotificationSettings
public ScheduleInner withNotificationSettings(NotificationSettings notificationSettings)
Set the notificationSettings property: Notification settings.
Parameters:
Returns:
withStatus
public ScheduleInner withStatus(EnableStatus status)
Set the status property: The status of the schedule (i.e. Enabled, Disabled).
Parameters:
Returns:
withTags
public ScheduleInner withTags(Map
Overrides:
ScheduleInner.withTags(Map<String,String> tags)Parameters:
withTargetResourceId
public ScheduleInner withTargetResourceId(String targetResourceId)
Set the targetResourceId property: The resource ID to which the schedule belongs.
Parameters:
Returns:
withTaskType
public ScheduleInner withTaskType(String taskType)
Set the taskType property: The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
Parameters:
Returns:
withTimeZoneId
public ScheduleInner withTimeZoneId(String timeZoneId)
Set the timeZoneId property: The time zone ID (e.g. Pacific Standard time).
Parameters:
Returns:
withWeeklyRecurrence
public ScheduleInner withWeeklyRecurrence(WeekDetails weeklyRecurrence)
Set the weeklyRecurrence property: If the schedule will occur only some days of the week, specify the weekly recurrence.
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