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 | 
|---|---|
Long | 
getMaxReplicas()
Get Maximum number of instances 
 | 
String | 
getMetrics()
Get Metrics (CPU or memory) 
 | 
Long | 
getMinReplicas()
Get Minimum number of instances 
 | 
Long | 
getThreshold()
Get Threshold (percentage) 
 | 
void | 
setMaxReplicas(Long MaxReplicas)
Set Maximum number of instances 
 | 
void | 
setMetrics(String Metrics)
Set Metrics (CPU or memory) 
 | 
void | 
setMinReplicas(Long MinReplicas)
Set 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 - Minimum number of instancespublic Long getMaxReplicas()
public void setMaxReplicas(Long MaxReplicas)
MaxReplicas - 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)Copyright © 2021. All rights reserved.