public class DescribeStsGrantStatusRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
resourceGroupId
The ID of the resource group to which the instance belongs in Resource Management.
|
String |
role
The name of the RAM role to query.
|
| 构造器和说明 |
|---|
DescribeStsGrantStatusRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static DescribeStsGrantStatusRequest |
build(Map<String,?> map) |
String |
getResourceGroupId() |
String |
getRole() |
DescribeStsGrantStatusRequest |
setResourceGroupId(String resourceGroupId) |
DescribeStsGrantStatusRequest |
setRole(String role) |
@NameInMap(value="ResourceGroupId") public String resourceGroupId
The ID of the resource group to which the instance belongs in Resource Management.
If you do not configure this parameter, the instance belongs to the default resource group.
example:rg-acfm2pz25js****
@NameInMap(value="Role") public String role
The name of the RAM role to query. Set the value to AliyunDDoSCOODefaultRole, which indicates the default role of Anti-DDoS Pro or Anti-DDoS Premium.
Anti-DDoS Pro or Anti-DDoS Premium uses the default role to access other cloud services.
This parameter is required.
example:AliyunDDoSCOODefaultRole
public static DescribeStsGrantStatusRequest build(Map<String,?> map) throws Exception
Exceptionpublic DescribeStsGrantStatusRequest setResourceGroupId(String resourceGroupId)
public String getResourceGroupId()
public DescribeStsGrantStatusRequest setRole(String role)
public String getRole()
Copyright © 2026. All rights reserved.