public static final class DescribeStsGrantStatusRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
DescribeStsGrantStatusRequest |
build() |
DescribeStsGrantStatusRequest.Builder |
regionId(String regionId)
RegionId.
|
DescribeStsGrantStatusRequest.Builder |
resourceGroupId(String resourceGroupId)
The ID of the resource group to which the instance belongs in Resource Management.
|
DescribeStsGrantStatusRequest.Builder |
role(String role)
The name of the RAM role to query.
|
public DescribeStsGrantStatusRequest.Builder regionId(String regionId)
public DescribeStsGrantStatusRequest.Builder resourceGroupId(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****
public DescribeStsGrantStatusRequest.Builder role(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 DescribeStsGrantStatusRequest build()
Copyright © 2026. All rights reserved.