public static class PutResourceMetricRuleShrinkRequest.PutResourceMetricRuleShrinkRequestLabels
extends com.aliyun.tea.TeaModel
| 构造器和说明 |
|---|
PutResourceMetricRuleShrinkRequestLabels() |
@NameInMap(value="Key") public String key
The tag key.
example:tagKey1
@NameInMap(value="Value") public String value
The tag value.
example:You can use a template parameter to specify a tag value. CloudMonitor replaces the value of the template parameter with an actual tag value.
ECS
public static PutResourceMetricRuleShrinkRequest.PutResourceMetricRuleShrinkRequestLabels build(Map<String,?> map) throws Exception
Exceptionpublic PutResourceMetricRuleShrinkRequest.PutResourceMetricRuleShrinkRequestLabels setKey(String key)
public String getKey()
public PutResourceMetricRuleShrinkRequest.PutResourceMetricRuleShrinkRequestLabels setValue(String value)
public String getValue()
Copyright © 2026. All rights reserved.