public class DescribeAccountPrivilegesRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
DescribeAccountPrivilegesRequest()  | 
DescribeAccountPrivilegesRequest(DescribeAccountPrivilegesRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getColName()
Get If `Type` is `table` and `ColName` is `\*`, the permissions of the table will be queried; if `ColName` is a specific field name, the permissions of the corresponding field will be queried. 
 | 
String | 
getDbName()
Get Database name. 
 | 
String | 
getHost()
Get Access host allowed for a user. 
 | 
String | 
getInstanceId()
Get Instance ID in the form of `tdsql-ow728lmc`, which can be obtained by querying the instance details through `DescribeDBInstances`. 
 | 
String | 
getObject()
Get Type name. 
 | 
String | 
getType()
Get Type. 
 | 
String | 
getUserName()
Get Login username. 
 | 
void | 
setColName(String ColName)
Set If `Type` is `table` and `ColName` is `\*`, the permissions of the table will be queried; if `ColName` is a specific field name, the permissions of the corresponding field will be queried. 
 | 
void | 
setDbName(String DbName)
Set Database name. 
 | 
void | 
setHost(String Host)
Set Access host allowed for a user. 
 | 
void | 
setInstanceId(String InstanceId)
Set Instance ID in the form of `tdsql-ow728lmc`, which can be obtained by querying the instance details through `DescribeDBInstances`. 
 | 
void | 
setObject(String Object)
Set Type name. 
 | 
void | 
setType(String Type)
Set Type. 
 | 
void | 
setUserName(String UserName)
Set Login username. 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic DescribeAccountPrivilegesRequest()
public DescribeAccountPrivilegesRequest(DescribeAccountPrivilegesRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - Instance ID in the form of `tdsql-ow728lmc`, which can be obtained by querying the instance details through `DescribeDBInstances`.public String getUserName()
public void setUserName(String UserName)
UserName - Login username.public String getHost()
public void setHost(String Host)
Host - Access host allowed for a user. An account is uniquely identified by username and host.public String getDbName()
public void setDbName(String DbName)
DbName - Database name. `\*` indicates that global permissions will be queried (i.e., `\*.\*`), in which case the `Type` and `Object ` parameters will be ignored.public String getType()
public void setType(String Type)
Type - Type. Valid values: table, view, proc, func, \*. If `DbName` is a specific database name and `Type` is `\*`, the permissions of the database will be queried (i.e., `db.\*`), in which case the `Object` parameter will be ignored.public String getObject()
public void setObject(String Object)
Object - Type name. For example, if `Type` is `table`, `Object` indicates a specific table name; if both `DbName` and `Type` are specific names, it indicates a specific object name and cannot be `\*` or empty.public String getColName()
public void setColName(String ColName)
ColName - If `Type` is `table` and `ColName` is `\*`, the permissions of the table will be queried; if `ColName` is a specific field name, the permissions of the corresponding field will be queried.Copyright © 2025. All rights reserved.