AutoscaleSchedule Class
- java.
lang. Object - com.
microsoft. azure. management. hdinsight. v2018_06_01_preview. AutoscaleSchedule
- com.
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<Days |
days()
Get days of the week for a schedule-based autoscale rule. |
Autoscale |
timeAndCapacity()
Get time and capacity for a schedule-based autoscale rule. |
Autoscale |
withDays(List<DaysOfWeek> days)
Set days of the week for a schedule-based autoscale rule. |
Autoscale |
withTimeAndCapacity(AutoscaleTimeAndCapacity timeAndCapacity)
Set time and capacity for a schedule-based autoscale rule. |
Methods inherited from java.lang.Object
Constructor Details
AutoscaleSchedule
public AutoscaleSchedule()
Method Details
days
public List
Get days of the week for a schedule-based autoscale rule.
Returns:
timeAndCapacity
public AutoscaleTimeAndCapacity timeAndCapacity()
Get time and capacity for a schedule-based autoscale rule.
Returns:
withDays
public AutoscaleSchedule withDays(List
Set days of the week for a schedule-based autoscale rule.
Parameters:
Returns:
withTimeAndCapacity
public AutoscaleSchedule withTimeAndCapacity(AutoscaleTimeAndCapacity timeAndCapacity)
Set time and capacity for a schedule-based autoscale rule.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for