StartStopManagedInstanceScheduleInner Class

public final class StartStopManagedInstanceScheduleInner
extends ProxyResource

Managed instance's Start/Stop schedule.

Constructor Summary

Constructor Description
StartStopManagedInstanceScheduleInner()

Creates an instance of StartStopManagedInstanceScheduleInner class.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: The description of the schedule.

static StartStopManagedInstanceScheduleInner fromJson(JsonReader jsonReader)

Reads an instance of StartStopManagedInstanceScheduleInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

String nextExecutionTime()

Get the nextExecutionTime property: Timestamp when the next action will be executed in the corresponding schedule time zone.

String nextRunAction()

Get the nextRunAction property: Next action to be executed (Start or Stop).

List<ScheduleItem> scheduleList()

Get the scheduleList property: Schedule list.

SystemData systemData()

Get the systemData property: System data of the scheduled resource.

String timeZoneId()

Get the timeZoneId property: The time zone of the schedule.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

StartStopManagedInstanceScheduleInner withDescription(String description)

Set the description property: The description of the schedule.

StartStopManagedInstanceScheduleInner withScheduleList(List<ScheduleItem> scheduleList)

Set the scheduleList property: Schedule list.

StartStopManagedInstanceScheduleInner withTimeZoneId(String timeZoneId)

Set the timeZoneId property: The time zone of the schedule.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

StartStopManagedInstanceScheduleInner

public StartStopManagedInstanceScheduleInner()

Creates an instance of StartStopManagedInstanceScheduleInner class.

Method Details

description

public String description()

Get the description property: The description of the schedule.

Returns:

the description value.

fromJson

public static StartStopManagedInstanceScheduleInner fromJson(JsonReader jsonReader)

Reads an instance of StartStopManagedInstanceScheduleInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of StartStopManagedInstanceScheduleInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

StartStopManagedInstanceScheduleInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

StartStopManagedInstanceScheduleInner.name()

Returns:

the name value.

nextExecutionTime

public String nextExecutionTime()

Get the nextExecutionTime property: Timestamp when the next action will be executed in the corresponding schedule time zone.

Returns:

the nextExecutionTime value.

nextRunAction

public String nextRunAction()

Get the nextRunAction property: Next action to be executed (Start or Stop).

Returns:

the nextRunAction value.

scheduleList

public List<ScheduleItem> scheduleList()

Get the scheduleList property: Schedule list.

Returns:

the scheduleList value.

systemData

public SystemData systemData()

Get the systemData property: System data of the scheduled resource.

Returns:

the systemData value.

timeZoneId

public String timeZoneId()

Get the timeZoneId property: The time zone of the schedule.

Returns:

the timeZoneId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

StartStopManagedInstanceScheduleInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

StartStopManagedInstanceScheduleInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDescription

public StartStopManagedInstanceScheduleInner withDescription(String description)

Set the description property: The description of the schedule.

Parameters:

description - the description value to set.

Returns:

the StartStopManagedInstanceScheduleInner object itself.

withScheduleList

public StartStopManagedInstanceScheduleInner withScheduleList(List<ScheduleItem> scheduleList)

Set the scheduleList property: Schedule list.

Parameters:

scheduleList - the scheduleList value to set.

Returns:

the StartStopManagedInstanceScheduleInner object itself.

withTimeZoneId

public StartStopManagedInstanceScheduleInner withTimeZoneId(String timeZoneId)

Set the timeZoneId property: The time zone of the schedule.

Parameters:

timeZoneId - the timeZoneId value to set.

Returns:

the StartStopManagedInstanceScheduleInner object itself.

Applies to