ScheduleInner Class

public final class ScheduleInner
extends Resource

A schedule.

Constructor Summary

Constructor Description
ScheduleInner()

Creates an instance of ScheduleInner class.

Method Summary

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.

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:

the createdDate value.

dailyRecurrence

public DayDetails dailyRecurrence()

Get the dailyRecurrence property: If the schedule will occur once each day of the week, specify the daily recurrence.

Returns:

the dailyRecurrence value.

hourlyRecurrence

public HourDetails hourlyRecurrence()

Get the hourlyRecurrence property: If the schedule will occur multiple times a day, specify the hourly recurrence.

Returns:

the hourlyRecurrence value.

notificationSettings

public NotificationSettings notificationSettings()

Get the notificationSettings property: Notification settings.

Returns:

the notificationSettings value.

provisioningState

public String provisioningState()

Get the provisioningState property: The provisioning status of the resource.

Returns:

the provisioningState value.

status

public EnableStatus status()

Get the status property: The status of the schedule (i.e. Enabled, Disabled).

Returns:

the status value.

targetResourceId

public String targetResourceId()

Get the targetResourceId property: The resource ID to which the schedule belongs.

Returns:

the targetResourceId value.

taskType

public String taskType()

Get the taskType property: The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).

Returns:

the taskType value.

timeZoneId

public String timeZoneId()

Get the timeZoneId property: The time zone ID (e.g. Pacific Standard time).

Returns:

the timeZoneId value.

uniqueIdentifier

public String uniqueIdentifier()

Get the uniqueIdentifier property: The unique immutable identifier of a resource (Guid).

Returns:

the uniqueIdentifier value.

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:

the weeklyRecurrence value.

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:

dailyRecurrence - the dailyRecurrence value to set.

Returns:

the ScheduleInner object itself.

withHourlyRecurrence

public ScheduleInner withHourlyRecurrence(HourDetails hourlyRecurrence)

Set the hourlyRecurrence property: If the schedule will occur multiple times a day, specify the hourly recurrence.

Parameters:

hourlyRecurrence - the hourlyRecurrence value to set.

Returns:

the ScheduleInner object itself.

withLocation

public ScheduleInner withLocation(String location)

Overrides:

ScheduleInner.withLocation(String location)

Parameters:

location

withNotificationSettings

public ScheduleInner withNotificationSettings(NotificationSettings notificationSettings)

Set the notificationSettings property: Notification settings.

Parameters:

notificationSettings - the notificationSettings value to set.

Returns:

the ScheduleInner object itself.

withStatus

public ScheduleInner withStatus(EnableStatus status)

Set the status property: The status of the schedule (i.e. Enabled, Disabled).

Parameters:

status - the status value to set.

Returns:

the ScheduleInner object itself.

withTags

public ScheduleInner withTags(Map tags)

Overrides:

ScheduleInner.withTags(Map<String,String> tags)

Parameters:

tags

withTargetResourceId

public ScheduleInner withTargetResourceId(String targetResourceId)

Set the targetResourceId property: The resource ID to which the schedule belongs.

Parameters:

targetResourceId - the targetResourceId value to set.

Returns:

the ScheduleInner object itself.

withTaskType

public ScheduleInner withTaskType(String taskType)

Set the taskType property: The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).

Parameters:

taskType - the taskType value to set.

Returns:

the ScheduleInner object itself.

withTimeZoneId

public ScheduleInner withTimeZoneId(String timeZoneId)

Set the timeZoneId property: The time zone ID (e.g. Pacific Standard time).

Parameters:

timeZoneId - the timeZoneId value to set.

Returns:

the ScheduleInner object itself.

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:

weeklyRecurrence - the weeklyRecurrence value to set.

Returns:

the ScheduleInner object itself.

Applies to