public class CloudNativeAPIGatewayStrategyAutoScalerConfigMetric extends AbstractModel
header, skipSign
Constructor and Description |
---|
CloudNativeAPIGatewayStrategyAutoScalerConfigMetric() |
CloudNativeAPIGatewayStrategyAutoScalerConfigMetric(CloudNativeAPIGatewayStrategyAutoScalerConfigMetric 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 |
getResourceName()
Get 指标资源名称
- cpu
- memory
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getTargetType()
Get 指标目标类型,目前只支持百分比Utilization
注意:此字段可能返回 null,表示取不到有效值。
|
Long |
getTargetValue()
Get 指标目标值
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getType()
Get 指标类型
- Resource
|
void |
setResourceName(String ResourceName)
Set 指标资源名称
- cpu
- memory
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTargetType(String TargetType)
Set 指标目标类型,目前只支持百分比Utilization
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setTargetValue(Long TargetValue)
Set 指标目标值
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setType(String Type)
Set 指标类型
- Resource
|
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 CloudNativeAPIGatewayStrategyAutoScalerConfigMetric()
public CloudNativeAPIGatewayStrategyAutoScalerConfigMetric(CloudNativeAPIGatewayStrategyAutoScalerConfigMetric source)
public String getType()
public void setType(String Type)
Type
- 指标类型
- Resourcepublic String getResourceName()
public void setResourceName(String ResourceName)
ResourceName
- 指标资源名称
- cpu
- memory
注意:此字段可能返回 null,表示取不到有效值。public String getTargetType()
public void setTargetType(String TargetType)
TargetType
- 指标目标类型,目前只支持百分比Utilization
注意:此字段可能返回 null,表示取不到有效值。public Long getTargetValue()
public void setTargetValue(Long TargetValue)
TargetValue
- 指标目标值
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2024. All rights reserved.