public class HorizontalAutoscaler extends AbstractModel
| Constructor and Description | 
|---|
| HorizontalAutoscaler() | 
| HorizontalAutoscaler(HorizontalAutoscaler 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 Whether it is enabled | 
| Long | getMaxReplicas()Get (Optional) Maximum number of instances | 
| String | getMetrics()Get Metrics (CPU or memory) | 
| Long | getMinReplicas()Get (Optional) Minimum number of instances | 
| Long | getThreshold()Get Threshold (percentage) | 
| void | setEnabled(Boolean Enabled)Set Whether it is enabled | 
| void | setMaxReplicas(Long MaxReplicas)Set (Optional) Maximum number of instances | 
| void | setMetrics(String Metrics)Set Metrics (CPU or memory) | 
| void | setMinReplicas(Long MinReplicas)Set (Optional) Minimum number of instances | 
| void | setThreshold(Long Threshold)Set Threshold (percentage) | 
| 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, toJsonStringpublic HorizontalAutoscaler()
public HorizontalAutoscaler(HorizontalAutoscaler source)
public Long getMinReplicas()
public void setMinReplicas(Long MinReplicas)
MinReplicas - (Optional) Minimum number of instancespublic Long getMaxReplicas()
public void setMaxReplicas(Long MaxReplicas)
MaxReplicas - (Optional) Maximum number of instancespublic String getMetrics()
public void setMetrics(String Metrics)
Metrics - Metrics (CPU or memory)public Long getThreshold()
public void setThreshold(Long Threshold)
Threshold - Threshold (percentage)public Boolean getEnabled()
public void setEnabled(Boolean Enabled)
Enabled - Whether it is enabledCopyright © 2022. All rights reserved.