AutoscaleSchedule Class

  • java.lang.Object
    • com.microsoft.azure.management.hdinsight.v2018_06_01_preview.AutoscaleSchedule

public class AutoscaleSchedule

Parameters for a schedule-based autoscale rule, consisting of an array of days + a time and capacity.

Constructor Summary

Constructor Description
AutoscaleSchedule()

Method Summary

Modifier and Type Method and Description
java.util.List<DaysOfWeek> days()

Get days of the week for a schedule-based autoscale rule.

AutoscaleTimeAndCapacity timeAndCapacity()

Get time and capacity for a schedule-based autoscale rule.

AutoscaleSchedule withDays(List<DaysOfWeek> days)

Set days of the week for a schedule-based autoscale rule.

AutoscaleSchedule withTimeAndCapacity(AutoscaleTimeAndCapacity timeAndCapacity)

Set time and capacity for a schedule-based autoscale rule.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

AutoscaleSchedule

public AutoscaleSchedule()

Method Details

days

public List days()

Get days of the week for a schedule-based autoscale rule.

Returns:

the days value

timeAndCapacity

public AutoscaleTimeAndCapacity timeAndCapacity()

Get time and capacity for a schedule-based autoscale rule.

Returns:

the timeAndCapacity value

withDays

public AutoscaleSchedule withDays(List days)

Set days of the week for a schedule-based autoscale rule.

Parameters:

days - the days value to set

Returns:

the AutoscaleSchedule object itself.

withTimeAndCapacity

public AutoscaleSchedule withTimeAndCapacity(AutoscaleTimeAndCapacity timeAndCapacity)

Set time and capacity for a schedule-based autoscale rule.

Parameters:

timeAndCapacity - the timeAndCapacity value to set

Returns:

the AutoscaleSchedule object itself.

Applies to