public class ScheduleInner
extends com.azure.core.management.Resource
Constructor and Description |
---|
ScheduleInner() |
Modifier and Type | Method and Description |
---|---|
OffsetDateTime |
createdDate()
Get the createdDate property: The creation date of the schedule.
|
DayDetails |
dailyRecurrence()
Get the dailyRecurrence property: If the schedule will occur once each day of the week, specify the daily
recurrence.
|
HourDetails |
hourlyRecurrence()
Get the hourlyRecurrence property: If the schedule will occur multiple times a day, specify the hourly
recurrence.
|
NotificationSettings |
notificationSettings()
Get the notificationSettings property: Notification settings.
|
String |
provisioningState()
Get the provisioningState property: The provisioning status of the resource.
|
EnableStatus |
status()
Get the status property: The status of the schedule (i.e.
|
String |
targetResourceId()
Get the targetResourceId property: The resource ID to which the schedule belongs.
|
String |
taskType()
Get the taskType property: The task type of the schedule (e.g.
|
String |
timeZoneId()
Get the timeZoneId property: The time zone ID (e.g.
|
String |
uniqueIdentifier()
Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).
|
void |
validate()
Validates the instance.
|
WeekDetails |
weeklyRecurrence()
Get the weeklyRecurrence property: If the schedule will occur only some days of the week, specify the weekly
recurrence.
|
ScheduleInner |
withDailyRecurrence(DayDetails dailyRecurrence)
Set the dailyRecurrence property: If the schedule will occur once each day of the week, specify the daily
recurrence.
|
ScheduleInner |
withHourlyRecurrence(HourDetails hourlyRecurrence)
Set the hourlyRecurrence property: If the schedule will occur multiple times a day, specify the hourly
recurrence.
|
ScheduleInner |
withLocation(String location) |
ScheduleInner |
withNotificationSettings(NotificationSettings notificationSettings)
Set the notificationSettings property: Notification settings.
|
ScheduleInner |
withStatus(EnableStatus status)
Set the status property: The status of the schedule (i.e.
|
ScheduleInner |
withTags(Map<String,String> tags) |
ScheduleInner |
withTargetResourceId(String targetResourceId)
Set the targetResourceId property: The resource ID to which the schedule belongs.
|
ScheduleInner |
withTaskType(String taskType)
Set the taskType property: The task type of the schedule (e.g.
|
ScheduleInner |
withTimeZoneId(String timeZoneId)
Set the timeZoneId property: The time zone ID (e.g.
|
ScheduleInner |
withWeeklyRecurrence(WeekDetails weeklyRecurrence)
Set the weeklyRecurrence property: If the schedule will occur only some days of the week, specify the weekly
recurrence.
|
public EnableStatus status()
public ScheduleInner withStatus(EnableStatus status)
status
- the status value to set.public String taskType()
public ScheduleInner withTaskType(String taskType)
taskType
- the taskType value to set.public WeekDetails weeklyRecurrence()
public ScheduleInner withWeeklyRecurrence(WeekDetails weeklyRecurrence)
weeklyRecurrence
- the weeklyRecurrence value to set.public DayDetails dailyRecurrence()
public ScheduleInner withDailyRecurrence(DayDetails dailyRecurrence)
dailyRecurrence
- the dailyRecurrence value to set.public HourDetails hourlyRecurrence()
public ScheduleInner withHourlyRecurrence(HourDetails hourlyRecurrence)
hourlyRecurrence
- the hourlyRecurrence value to set.public String timeZoneId()
public ScheduleInner withTimeZoneId(String timeZoneId)
timeZoneId
- the timeZoneId value to set.public NotificationSettings notificationSettings()
public ScheduleInner withNotificationSettings(NotificationSettings notificationSettings)
notificationSettings
- the notificationSettings value to set.public OffsetDateTime createdDate()
public String targetResourceId()
public ScheduleInner withTargetResourceId(String targetResourceId)
targetResourceId
- the targetResourceId value to set.public String provisioningState()
public String uniqueIdentifier()
public ScheduleInner withLocation(String location)
withLocation
in class com.azure.core.management.Resource
public ScheduleInner withTags(Map<String,String> tags)
withTags
in class com.azure.core.management.Resource
public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.