StartStopManagedInstanceScheduleInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. fluent. models. StartStopManagedInstanceScheduleInner
- com.
- com.
public final class StartStopManagedInstanceScheduleInner
extends ProxyResource
Managed instance's Start/Stop schedule.
Constructor Summary
| Constructor | Description |
|---|---|
| StartStopManagedInstanceScheduleInner() |
Creates an instance of Start |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
description()
Get the description property: The description of the schedule. |
|
static
Start |
fromJson(JsonReader jsonReader)
Reads an instance of Start |
| 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 next |
| String |
nextRunAction()
Get the next |
|
List<Schedule |
scheduleList()
Get the schedule |
|
System |
systemData()
Get the system |
| String |
timeZoneId()
Get the time |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Start |
withDescription(String description)
Set the description property: The description of the schedule. |
|
Start |
withScheduleList(List<ScheduleItem> scheduleList)
Set the schedule |
|
Start |
withTimeZoneId(String timeZoneId)
Set the time |
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:
fromJson
public static StartStopManagedInstanceScheduleInner fromJson(JsonReader jsonReader)
Reads an instance of StartStopManagedInstanceScheduleInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
StartStopManagedInstanceScheduleInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
StartStopManagedInstanceScheduleInner.name()Returns:
nextExecutionTime
public String nextExecutionTime()
Get the nextExecutionTime property: Timestamp when the next action will be executed in the corresponding schedule time zone.
Returns:
nextRunAction
public String nextRunAction()
Get the nextRunAction property: Next action to be executed (Start or Stop).
Returns:
scheduleList
public List<ScheduleItem> scheduleList()
Get the scheduleList property: Schedule list.
Returns:
systemData
public SystemData systemData()
Get the systemData property: System data of the scheduled resource.
Returns:
timeZoneId
public String timeZoneId()
Get the timeZoneId property: The time zone of the schedule.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
StartStopManagedInstanceScheduleInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
StartStopManagedInstanceScheduleInner.type()Returns:
validate
public void validate()
Validates the instance.
withDescription
public StartStopManagedInstanceScheduleInner withDescription(String description)
Set the description property: The description of the schedule.
Parameters:
Returns:
withScheduleList
public StartStopManagedInstanceScheduleInner withScheduleList(List<ScheduleItem> scheduleList)
Set the scheduleList property: Schedule list.
Parameters:
Returns:
withTimeZoneId
public StartStopManagedInstanceScheduleInner withTimeZoneId(String timeZoneId)
Set the timeZoneId property: The time zone of the schedule.
Parameters:
Returns: