ApplicableScheduleInner Class

public final class ApplicableScheduleInner
extends Resource

Schedules applicable to a virtual machine. The schedules may have been defined on a VM or on lab level.

Constructor Summary

Constructor Description
ApplicableScheduleInner()

Creates an instance of ApplicableScheduleInner class.

Method Summary

Modifier and Type Method and Description
ScheduleInner labVmsShutdown()

Get the labVmsShutdown property: The auto-shutdown schedule, if one has been set at the lab or lab resource level.

ScheduleInner labVmsStartup()

Get the labVmsStartup property: The auto-startup schedule, if one has been set at the lab or lab resource level.

void validate()

Validates the instance.

ApplicableScheduleInner withLabVmsShutdown(ScheduleInner labVmsShutdown)

Set the labVmsShutdown property: The auto-shutdown schedule, if one has been set at the lab or lab resource level.

ApplicableScheduleInner withLabVmsStartup(ScheduleInner labVmsStartup)

Set the labVmsStartup property: The auto-startup schedule, if one has been set at the lab or lab resource level.

ApplicableScheduleInner withLocation(String location)
ApplicableScheduleInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ApplicableScheduleInner

public ApplicableScheduleInner()

Creates an instance of ApplicableScheduleInner class.

Method Details

labVmsShutdown

public ScheduleInner labVmsShutdown()

Get the labVmsShutdown property: The auto-shutdown schedule, if one has been set at the lab or lab resource level.

Returns:

the labVmsShutdown value.

labVmsStartup

public ScheduleInner labVmsStartup()

Get the labVmsStartup property: The auto-startup schedule, if one has been set at the lab or lab resource level.

Returns:

the labVmsStartup value.

validate

public void validate()

Validates the instance.

withLabVmsShutdown

public ApplicableScheduleInner withLabVmsShutdown(ScheduleInner labVmsShutdown)

Set the labVmsShutdown property: The auto-shutdown schedule, if one has been set at the lab or lab resource level.

Parameters:

labVmsShutdown - the labVmsShutdown value to set.

Returns:

the ApplicableScheduleInner object itself.

withLabVmsStartup

public ApplicableScheduleInner withLabVmsStartup(ScheduleInner labVmsStartup)

Set the labVmsStartup property: The auto-startup schedule, if one has been set at the lab or lab resource level.

Parameters:

labVmsStartup - the labVmsStartup value to set.

Returns:

the ApplicableScheduleInner object itself.

withLocation

public ApplicableScheduleInner withLocation(String location)

Overrides:

ApplicableScheduleInner.withLocation(String location)

Parameters:

location

withTags

public ApplicableScheduleInner withTags(Map tags)

Overrides:

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

Parameters:

tags

Applies to