public class UnTagResourcesRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 类和说明 |
|---|---|
static class |
UnTagResourcesRequest.UnTagResourcesRequestTag |
| 限定符和类型 | 字段和说明 |
|---|---|
Boolean |
all
Specifies whether to remove all tags from the specified resource.
|
List<String> |
resourceId
The IDs of the resources from which you want to remove tags.
|
String |
resourceType
The type of the resource.
|
List<UnTagResourcesRequest.UnTagResourcesRequestTag> |
tag
The tags that you want to remove.
|
List<String> |
tagKey
The keys of the tags that you want to remove.
|
| 构造器和说明 |
|---|
UnTagResourcesRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static UnTagResourcesRequest |
build(Map<String,?> map) |
Boolean |
getAll() |
List<String> |
getResourceId() |
String |
getResourceType() |
List<UnTagResourcesRequest.UnTagResourcesRequestTag> |
getTag() |
List<String> |
getTagKey() |
UnTagResourcesRequest |
setAll(Boolean all) |
UnTagResourcesRequest |
setResourceId(List<String> resourceId) |
UnTagResourcesRequest |
setResourceType(String resourceType) |
UnTagResourcesRequest |
setTag(List<UnTagResourcesRequest.UnTagResourcesRequestTag> tag) |
UnTagResourcesRequest |
setTagKey(List<String> tagKey) |
@NameInMap(value="All") public Boolean all
Specifies whether to remove all tags from the specified resource. Valid values:
* **true**
* **false**
@NameInMap(value="ResourceId") public List<String> resourceId
The IDs of the resources from which you want to remove tags.
This parameter is required.
@NameInMap(value="ResourceType") public String resourceType
The type of the resource. Valid values:
* **acl**: an access control list (ACL)
* **loadbalancer**: an Application Load Balancer (ALB) instance
* **securitypolicy**: a security policy
* **servergroup**: a server group
This parameter is required.
@NameInMap(value="Tag") public List<UnTagResourcesRequest.UnTagResourcesRequestTag> tag
The tags that you want to remove.
public static UnTagResourcesRequest build(Map<String,?> map) throws Exception
Exceptionpublic UnTagResourcesRequest setAll(Boolean all)
public Boolean getAll()
public UnTagResourcesRequest setResourceId(List<String> resourceId)
public UnTagResourcesRequest setResourceType(String resourceType)
public String getResourceType()
public UnTagResourcesRequest setTag(List<UnTagResourcesRequest.UnTagResourcesRequestTag> tag)
public List<UnTagResourcesRequest.UnTagResourcesRequestTag> getTag()
public UnTagResourcesRequest setTagKey(List<String> tagKey)
Copyright © 2024. All rights reserved.