public class CronHorizontalAutoscaler extends AbstractModel
Constructor and Description |
---|
CronHorizontalAutoscaler() |
CronHorizontalAutoscaler(CronHorizontalAutoscaler source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getEnabled()
Get Enabled or not
|
String |
getName()
Get Name of a scheduled scaling policy
|
String |
getPeriod()
Get Policy period
"* * *" indicates three ranges.
|
Long |
getPriority()
Get Policy priority.
|
CronHorizontalAutoscalerSchedule[] |
getSchedules()
Get Details of a scheduled scaling policy
|
void |
setEnabled(Boolean Enabled)
Set Enabled or not
|
void |
setName(String Name)
Set Name of a scheduled scaling policy
|
void |
setPeriod(String Period)
Set Policy period
"* * *" indicates three ranges.
|
void |
setPriority(Long Priority)
Set Policy priority.
|
void |
setSchedules(CronHorizontalAutoscalerSchedule[] Schedules)
Set Details of a scheduled scaling policy
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public CronHorizontalAutoscaler()
public CronHorizontalAutoscaler(CronHorizontalAutoscaler source)
public String getName()
public void setName(String Name)
Name
- Name of a scheduled scaling policypublic String getPeriod()
public void setPeriod(String Period)
Period
- Policy period
"* * *" indicates three ranges. The first is day, the second month, and the third week. The three parts are separated by spaces.
Examples:
* * (every day)
* 0-3 (every Sunday through Wednesday)
1,11,21 * * (1st, 11th, and 21st of every month)public CronHorizontalAutoscalerSchedule[] getSchedules()
public void setSchedules(CronHorizontalAutoscalerSchedule[] Schedules)
Schedules
- Details of a scheduled scaling policypublic Boolean getEnabled()
public void setEnabled(Boolean Enabled)
Enabled
- Enabled or notpublic Long getPriority()
public void setPriority(Long Priority)
Priority
- Policy priority. The higher the value, the higher the priority. The minimum value is 0.Copyright © 2023. All rights reserved.