public class ScheduleCreationParameter extends Object
Constructor and Description |
---|
ScheduleCreationParameter() |
Modifier and Type | Method and Description |
---|---|
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.
|
String |
location()
Get the location property: The location of the new virtual machine or environment.
|
String |
name()
Get the name property: The name of the virtual machine or environment.
|
NotificationSettings |
notificationSettings()
Get the notificationSettings property: Notification settings.
|
EnableStatus |
status()
Get the status property: The status of the schedule (i.e.
|
Map<String,String> |
tags()
Get the tags property: The tags of the resource.
|
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.
|
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.
|
ScheduleCreationParameter |
withDailyRecurrence(DayDetails dailyRecurrence)
Set the dailyRecurrence property: If the schedule will occur once each day of the week, specify the daily
recurrence.
|
ScheduleCreationParameter |
withHourlyRecurrence(HourDetails hourlyRecurrence)
Set the hourlyRecurrence property: If the schedule will occur multiple times a day, specify the hourly
recurrence.
|
ScheduleCreationParameter |
withLocation(String location)
Set the location property: The location of the new virtual machine or environment.
|
ScheduleCreationParameter |
withName(String name)
Set the name property: The name of the virtual machine or environment.
|
ScheduleCreationParameter |
withNotificationSettings(NotificationSettings notificationSettings)
Set the notificationSettings property: Notification settings.
|
ScheduleCreationParameter |
withStatus(EnableStatus status)
Set the status property: The status of the schedule (i.e.
|
ScheduleCreationParameter |
withTags(Map<String,String> tags)
Set the tags property: The tags of the resource.
|
ScheduleCreationParameter |
withTargetResourceId(String targetResourceId)
Set the targetResourceId property: The resource ID to which the schedule belongs.
|
ScheduleCreationParameter |
withTaskType(String taskType)
Set the taskType property: The task type of the schedule (e.g.
|
ScheduleCreationParameter |
withTimeZoneId(String timeZoneId)
Set the timeZoneId property: The time zone ID (e.g.
|
ScheduleCreationParameter |
withWeeklyRecurrence(WeekDetails weeklyRecurrence)
Set the weeklyRecurrence property: If the schedule will occur only some days of the week, specify the weekly
recurrence.
|
public String name()
public ScheduleCreationParameter withName(String name)
name
- the name value to set.public String location()
public ScheduleCreationParameter withLocation(String location)
location
- the location value to set.public Map<String,String> tags()
public ScheduleCreationParameter withTags(Map<String,String> tags)
tags
- the tags value to set.public EnableStatus status()
public ScheduleCreationParameter withStatus(EnableStatus status)
status
- the status value to set.public String taskType()
public ScheduleCreationParameter withTaskType(String taskType)
taskType
- the taskType value to set.public WeekDetails weeklyRecurrence()
public ScheduleCreationParameter withWeeklyRecurrence(WeekDetails weeklyRecurrence)
weeklyRecurrence
- the weeklyRecurrence value to set.public DayDetails dailyRecurrence()
public ScheduleCreationParameter withDailyRecurrence(DayDetails dailyRecurrence)
dailyRecurrence
- the dailyRecurrence value to set.public HourDetails hourlyRecurrence()
public ScheduleCreationParameter withHourlyRecurrence(HourDetails hourlyRecurrence)
hourlyRecurrence
- the hourlyRecurrence value to set.public String timeZoneId()
public ScheduleCreationParameter withTimeZoneId(String timeZoneId)
timeZoneId
- the timeZoneId value to set.public NotificationSettings notificationSettings()
public ScheduleCreationParameter withNotificationSettings(NotificationSettings notificationSettings)
notificationSettings
- the notificationSettings value to set.public String targetResourceId()
public ScheduleCreationParameter withTargetResourceId(String targetResourceId)
targetResourceId
- the targetResourceId value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.