public class CloudNativeAPIGatewayStrategyAutoScalerConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
CloudNativeAPIGatewayStrategyAutoScalerConfig() |
CloudNativeAPIGatewayStrategyAutoScalerConfig(CloudNativeAPIGatewayStrategyAutoScalerConfig 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()
Deprecated.
|
AutoScalerBehavior |
getBehavior()
Get 指标伸缩行为配置
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getCreateTime()
Deprecated.
|
Boolean |
getEnabled()
Deprecated.
|
Long |
getMaxReplicas()
Get 最大副本数
注意:此字段可能返回 null,表示取不到有效值。
|
CloudNativeAPIGatewayStrategyAutoScalerConfigMetric[] |
getMetrics()
Get 指标列表
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getModifyTime()
Deprecated.
|
String |
getStrategyId()
Deprecated.
|
void |
setAutoScalerId(String AutoScalerId)
Deprecated.
|
void |
setBehavior(AutoScalerBehavior Behavior)
Set 指标伸缩行为配置
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setCreateTime(String CreateTime)
Deprecated.
|
void |
setEnabled(Boolean Enabled)
Deprecated.
|
void |
setMaxReplicas(Long MaxReplicas)
Set 最大副本数
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setMetrics(CloudNativeAPIGatewayStrategyAutoScalerConfigMetric[] Metrics)
Set 指标列表
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setModifyTime(String ModifyTime)
Deprecated.
|
void |
setStrategyId(String StrategyId)
Deprecated.
|
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 CloudNativeAPIGatewayStrategyAutoScalerConfig()
public CloudNativeAPIGatewayStrategyAutoScalerConfig(CloudNativeAPIGatewayStrategyAutoScalerConfig source)
public Long getMaxReplicas()
public void setMaxReplicas(Long MaxReplicas)
MaxReplicas
- 最大副本数
注意:此字段可能返回 null,表示取不到有效值。public CloudNativeAPIGatewayStrategyAutoScalerConfigMetric[] getMetrics()
public void setMetrics(CloudNativeAPIGatewayStrategyAutoScalerConfigMetric[] Metrics)
Metrics
- 指标列表
注意:此字段可能返回 null,表示取不到有效值。@Deprecated public Boolean getEnabled()
@Deprecated public void setEnabled(Boolean Enabled)
Enabled
- 是否开启指标伸缩
注意:此字段可能返回 null,表示取不到有效值。@Deprecated public String getCreateTime()
@Deprecated public void setCreateTime(String CreateTime)
CreateTime
- 创建时间
注意:此字段可能返回 null,表示取不到有效值。@Deprecated public String getModifyTime()
@Deprecated public void setModifyTime(String ModifyTime)
ModifyTime
- 修改时间
注意:此字段可能返回 null,表示取不到有效值。@Deprecated public String getStrategyId()
@Deprecated public void setStrategyId(String StrategyId)
StrategyId
- 弹性策略ID
注意:此字段可能返回 null,表示取不到有效值。@Deprecated public String getAutoScalerId()
@Deprecated public void setAutoScalerId(String AutoScalerId)
AutoScalerId
- 指标配置ID
注意:此字段可能返回 null,表示取不到有效值。public AutoScalerBehavior getBehavior()
public void setBehavior(AutoScalerBehavior Behavior)
Behavior
- 指标伸缩行为配置
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.