public class DescribeAccountPrivilegesRequest extends AbstractModel
Constructor and Description |
---|
DescribeAccountPrivilegesRequest() |
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 user.
|
String |
getInstanceId()
Get Instance ID, which is in the format of `tdsql-ow728lmc` and can be obtained through the `DescribeDBInstances` API.
|
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 user.
|
void |
setInstanceId(String InstanceId)
Set Instance ID, which is in the format of `tdsql-ow728lmc` and can be obtained through the `DescribeDBInstances` API.
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID, which is in the format of `tdsql-ow728lmc` and can be obtained through the `DescribeDBInstances` API.public String getUserName()
public void setUserName(String UserName)
UserName
- Login username.public String getHost()
public void setHost(String Host)
Host
- Access host allowed for 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 ignoredpublic 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 ignoredpublic 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 emptypublic 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 queriedCopyright © 2020. All rights reserved.