public class DescribeAccountPrivilegesRequest extends AbstractModel
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` = 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 format of dcdbt-ow7t8lmc.
|
String |
getObject()
Get Type name.
|
String |
getType()
Get Type.
|
String |
getUserName()
Get Login username.
|
void |
setColName(String ColName)
Set If `Type` = 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 format of dcdbt-ow7t8lmc.
|
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 DescribeAccountPrivilegesRequest()
public DescribeAccountPrivilegesRequest(DescribeAccountPrivilegesRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID in the format of dcdbt-ow7t8lmc.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 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` = 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 © 2021. All rights reserved.