public class HorizontalPodAutoscalerSpec extends AbstractModel
Constructor and Description |
---|
HorizontalPodAutoscalerSpec() |
HorizontalPodAutoscalerSpec(HorizontalPodAutoscalerSpec 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 最大副本数
|
MetricSpec[] |
getMetrics()
Get 用于计算副本数的指标
|
Long |
getMinReplicas()
Get 最小副本数
|
void |
setMaxReplicas(Long MaxReplicas)
Set 最大副本数
|
void |
setMetrics(MetricSpec[] Metrics)
Set 用于计算副本数的指标
|
void |
setMinReplicas(Long MinReplicas)
Set 最小副本数
|
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 HorizontalPodAutoscalerSpec()
public HorizontalPodAutoscalerSpec(HorizontalPodAutoscalerSpec source)
public Long getMinReplicas()
public void setMinReplicas(Long MinReplicas)
MinReplicas
- 最小副本数public Long getMaxReplicas()
public void setMaxReplicas(Long MaxReplicas)
MaxReplicas
- 最大副本数public MetricSpec[] getMetrics()
public void setMetrics(MetricSpec[] Metrics)
Metrics
- 用于计算副本数的指标Copyright © 2023. All rights reserved.