public class UntagResourcesShrinkRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Boolean |
all
Whether to detach all tags from the resource.
|
String |
regionId
Region
This parameter is required.
|
String |
resourceIdShrink
Resource IDs.
|
String |
resourceType
Resource type
This parameter is required.
|
String |
tagKeyShrink
List of tag keys.
|
| 构造器和说明 |
|---|
UntagResourcesShrinkRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static UntagResourcesShrinkRequest |
build(Map<String,?> map) |
Boolean |
getAll() |
String |
getRegionId() |
String |
getResourceIdShrink() |
String |
getResourceType() |
String |
getTagKeyShrink() |
UntagResourcesShrinkRequest |
setAll(Boolean all) |
UntagResourcesShrinkRequest |
setRegionId(String regionId) |
UntagResourcesShrinkRequest |
setResourceIdShrink(String resourceIdShrink) |
UntagResourcesShrinkRequest |
setResourceType(String resourceType) |
UntagResourcesShrinkRequest |
setTagKeyShrink(String tagKeyShrink) |
@NameInMap(value="All") public Boolean all
Whether to detach all tags from the resource. Valid values:
true: Detach all tags from the resource.
false: Do not detach all tags from the resource.
- Default value: false.
false
@NameInMap(value="RegionId") public String regionId
Region
This parameter is required.
example:cn-hangzhou
@NameInMap(value="ResourceId") public String resourceIdShrink
Resource IDs. Maximum: 50 items.
This parameter is required.
@NameInMap(value="ResourceType") public String resourceType
Resource type
This parameter is required.
example:ResourceGroup
@NameInMap(value="TagKey") public String tagKeyShrink
List of tag keys. Maximum: 20 items.
public static UntagResourcesShrinkRequest build(Map<String,?> map) throws Exception
Exceptionpublic UntagResourcesShrinkRequest setAll(Boolean all)
public Boolean getAll()
public UntagResourcesShrinkRequest setRegionId(String regionId)
public String getRegionId()
public UntagResourcesShrinkRequest setResourceIdShrink(String resourceIdShrink)
public String getResourceIdShrink()
public UntagResourcesShrinkRequest setResourceType(String resourceType)
public String getResourceType()
public UntagResourcesShrinkRequest setTagKeyShrink(String tagKeyShrink)
public String getTagKeyShrink()
Copyright © 2026. All rights reserved.