public class HorizontalPodAutoscaler extends AbstractModel
header, skipSign
Constructor and Description |
---|
HorizontalPodAutoscaler() |
HorizontalPodAutoscaler(HorizontalPodAutoscaler 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 最大实例数
|
Long |
getMinReplicas()
Get 最小实例数
|
String |
getName()
Get 名称
|
String |
getNamespace()
Get 命名空间
|
ResourceMetricTarget[] |
getResourceMetricTarget()
Get 资源目标指标
|
void |
setMaxReplicas(Long MaxReplicas)
Set 最大实例数
|
void |
setMinReplicas(Long MinReplicas)
Set 最小实例数
|
void |
setName(String Name)
Set 名称
|
void |
setNamespace(String Namespace)
Set 命名空间
|
void |
setResourceMetricTarget(ResourceMetricTarget[] ResourceMetricTarget)
Set 资源目标指标
|
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, toJsonString
public HorizontalPodAutoscaler()
public HorizontalPodAutoscaler(HorizontalPodAutoscaler source)
public String getName()
public void setName(String Name)
Name
- 名称public String getNamespace()
public void setNamespace(String Namespace)
Namespace
- 命名空间public Long getMinReplicas()
public void setMinReplicas(Long MinReplicas)
MinReplicas
- 最小实例数public Long getMaxReplicas()
public void setMaxReplicas(Long MaxReplicas)
MaxReplicas
- 最大实例数public ResourceMetricTarget[] getResourceMetricTarget()
public void setResourceMetricTarget(ResourceMetricTarget[] ResourceMetricTarget)
ResourceMetricTarget
- 资源目标指标Copyright © 2024. All rights reserved.