public class Autoscaler extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
Autoscaler()  | 
Autoscaler(Autoscaler 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 | 
|---|---|
String | 
getAutoscalerId()
Get Scaling rule ID
Note: This field may return `null`, indicating that no valid values can be obtained. 
 | 
String | 
getAutoscalerName()
Get Scaling rule name
Note: This field may return `null`, indicating that no valid values can be obtained. 
 | 
String | 
getCreateDate()
Get Creation time
Note: This field may return `null`, indicating that no valid values can be obtained. 
 | 
CronHorizontalAutoscaler[] | 
getCronHorizontalAutoscaler()
Get Scheduled auto-scaler policy
Note: This field may return `null`, indicating that no valid values can be obtained. 
 | 
String | 
getDescription()
Get Description of the scaling rule
Note: This field may return `null`, indicating that no valid values can be obtained. 
 | 
Boolean | 
getEnabled()
Get Whether it is enabled
Note: This field may return `null`, indicating that no valid values can be obtained. 
 | 
String | 
getEnableDate()
Get Start Time
Note: This field may return `null`, indicating that no valid values can be obtained. 
 | 
HorizontalAutoscaler[] | 
getHorizontalAutoscaler()
Get Policy of the scaling rule
Note: This field may return `null`, indicating that no valid values can be obtained. 
 | 
Long | 
getMaxReplicas()
Get Maximum number of instances in a scaling group 
 | 
Long | 
getMinReplicas()
Get Minimum number of instances in a scaling group 
 | 
String | 
getModifyDate()
Get Modification time
Note: This field may return `null`, indicating that no valid values can be obtained. 
 | 
void | 
setAutoscalerId(String AutoscalerId)
Set Scaling rule ID
Note: This field may return `null`, indicating that no valid values can be obtained. 
 | 
void | 
setAutoscalerName(String AutoscalerName)
Set Scaling rule name
Note: This field may return `null`, indicating that no valid values can be obtained. 
 | 
void | 
setCreateDate(String CreateDate)
Set Creation time
Note: This field may return `null`, indicating that no valid values can be obtained. 
 | 
void | 
setCronHorizontalAutoscaler(CronHorizontalAutoscaler[] CronHorizontalAutoscaler)
Set Scheduled auto-scaler policy
Note: This field may return `null`, indicating that no valid values can be obtained. 
 | 
void | 
setDescription(String Description)
Set Description of the scaling rule
Note: This field may return `null`, indicating that no valid values can be obtained. 
 | 
void | 
setEnabled(Boolean Enabled)
Set Whether it is enabled
Note: This field may return `null`, indicating that no valid values can be obtained. 
 | 
void | 
setEnableDate(String EnableDate)
Set Start Time
Note: This field may return `null`, indicating that no valid values can be obtained. 
 | 
void | 
setHorizontalAutoscaler(HorizontalAutoscaler[] HorizontalAutoscaler)
Set Policy of the scaling rule
Note: This field may return `null`, indicating that no valid values can be obtained. 
 | 
void | 
setMaxReplicas(Long MaxReplicas)
Set Maximum number of instances in a scaling group 
 | 
void | 
setMinReplicas(Long MinReplicas)
Set Minimum number of instances in a scaling group 
 | 
void | 
setModifyDate(String ModifyDate)
Set Modification time
Note: This field may return `null`, indicating that no valid values can be obtained. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic Autoscaler()
public Autoscaler(Autoscaler source)
public Long getMinReplicas()
public void setMinReplicas(Long MinReplicas)
MinReplicas - Minimum number of instances in a scaling grouppublic Long getMaxReplicas()
public void setMaxReplicas(Long MaxReplicas)
MaxReplicas - Maximum number of instances in a scaling grouppublic HorizontalAutoscaler[] getHorizontalAutoscaler()
public void setHorizontalAutoscaler(HorizontalAutoscaler[] HorizontalAutoscaler)
HorizontalAutoscaler - Policy of the scaling rule
Note: This field may return `null`, indicating that no valid values can be obtained.public CronHorizontalAutoscaler[] getCronHorizontalAutoscaler()
public void setCronHorizontalAutoscaler(CronHorizontalAutoscaler[] CronHorizontalAutoscaler)
CronHorizontalAutoscaler - Scheduled auto-scaler policy
Note: This field may return `null`, indicating that no valid values can be obtained.public String getAutoscalerId()
public void setAutoscalerId(String AutoscalerId)
AutoscalerId - Scaling rule ID
Note: This field may return `null`, indicating that no valid values can be obtained.public String getAutoscalerName()
public void setAutoscalerName(String AutoscalerName)
AutoscalerName - Scaling rule name
Note: This field may return `null`, indicating that no valid values can be obtained.public String getDescription()
public void setDescription(String Description)
Description - Description of the scaling rule
Note: This field may return `null`, indicating that no valid values can be obtained.public String getCreateDate()
public void setCreateDate(String CreateDate)
CreateDate - Creation time
Note: This field may return `null`, indicating that no valid values can be obtained.public String getModifyDate()
public void setModifyDate(String ModifyDate)
ModifyDate - Modification time
Note: This field may return `null`, indicating that no valid values can be obtained.public String getEnableDate()
public void setEnableDate(String EnableDate)
EnableDate - Start Time
Note: This field may return `null`, indicating that no valid values can be obtained.public Boolean getEnabled()
public void setEnabled(Boolean Enabled)
Enabled - Whether it is enabled
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.