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 | 
| String | getTargetType()Get 指标目标类型,目前只支持百分比Utilization | 
| Long | getTargetValue()Get 指标目标值 | 
| String | getType()Get 指标类型
- Resource | 
| void | setResourceName(String ResourceName)Set 指标资源名称
- cpu
- memory | 
| void | setTargetType(String TargetType)Set 指标目标类型,目前只支持百分比Utilization | 
| void | setTargetValue(Long TargetValue)Set 指标目标值 | 
| 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, toJsonStringpublic CloudNativeAPIGatewayStrategyAutoScalerConfigMetric()
public CloudNativeAPIGatewayStrategyAutoScalerConfigMetric(CloudNativeAPIGatewayStrategyAutoScalerConfigMetric source)
public String getType()
public void setType(String Type)
Type - 指标类型
- Resourcepublic String getResourceName()
public void setResourceName(String ResourceName)
ResourceName - 指标资源名称
- cpu
- memorypublic String getTargetType()
public void setTargetType(String TargetType)
TargetType - 指标目标类型,目前只支持百分比Utilizationpublic Long getTargetValue()
public void setTargetValue(Long TargetValue)
TargetValue - 指标目标值Copyright © 2025. All rights reserved.