public static class TagResourcesRequest.TagResourcesRequestTag
extends com.aliyun.tea.TeaModel
| 构造器和说明 |
|---|
TagResourcesRequestTag() |
| 限定符和类型 | 方法和说明 |
|---|---|
static TagResourcesRequest.TagResourcesRequestTag |
build(Map<String,?> map) |
String |
getKey() |
String |
getValue() |
TagResourcesRequest.TagResourcesRequestTag |
setKey(String key) |
TagResourcesRequest.TagResourcesRequestTag |
setValue(String value) |
@NameInMap(value="Key") public String key
The key of a tag. Valid values of N: 1 to 20. This parameter value cannot be an empty string. A tag key can contain a maximum of 128 characters. It cannot start with aliyun or acs: and cannot contain http:// or https://.
This parameter is required.
example:TestKey
@NameInMap(value="Value") public String value
The value of a tag. Valid values of N: 1 to 20. This parameter value can be an empty string. A tag value can contain a maximum of 128 characters. It cannot start with acs: and cannot contain http:// or https://.
This parameter is required.
example:TestValue
public static TagResourcesRequest.TagResourcesRequestTag build(Map<String,?> map) throws Exception
Exceptionpublic TagResourcesRequest.TagResourcesRequestTag setKey(String key)
public String getKey()
public TagResourcesRequest.TagResourcesRequestTag setValue(String value)
public String getValue()
Copyright © 2024. All rights reserved.