Class DescribeAccountPrivilegesRequest


  • public class DescribeAccountPrivilegesRequest
    extends AbstractModel
    • Constructor Detail

      • DescribeAccountPrivilegesRequest

        public DescribeAccountPrivilegesRequest()
      • DescribeAccountPrivilegesRequest

        public 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.
    • Method Detail

      • getInstanceId

        public String getInstanceId()
        Get 实例 ID,形如:dcdbt-ow7t8lmc。
        Returns:
        InstanceId 实例 ID,形如:dcdbt-ow7t8lmc。
      • setInstanceId

        public void setInstanceId​(String InstanceId)
        Set 实例 ID,形如:dcdbt-ow7t8lmc。
        Parameters:
        InstanceId - 实例 ID,形如:dcdbt-ow7t8lmc。
      • getUserName

        public String getUserName()
        Get 登录用户名。
        Returns:
        UserName 登录用户名。
      • setUserName

        public void setUserName​(String UserName)
        Set 登录用户名。
        Parameters:
        UserName - 登录用户名。
      • getHost

        public String getHost()
        Get 用户允许的访问 host,用户名+host唯一确定一个账号。
        Returns:
        Host 用户允许的访问 host,用户名+host唯一确定一个账号。
      • setHost

        public void setHost​(String Host)
        Set 用户允许的访问 host,用户名+host唯一确定一个账号。
        Parameters:
        Host - 用户允许的访问 host,用户名+host唯一确定一个账号。
      • getDbName

        public String getDbName()
        Get 数据库名。如果为 \*,表示查询全局权限(即 \*.\*),此时忽略 Type 和 Object 参数
        Returns:
        DbName 数据库名。如果为 \*,表示查询全局权限(即 \*.\*),此时忽略 Type 和 Object 参数
      • setDbName

        public void setDbName​(String DbName)
        Set 数据库名。如果为 \*,表示查询全局权限(即 \*.\*),此时忽略 Type 和 Object 参数
        Parameters:
        DbName - 数据库名。如果为 \*,表示查询全局权限(即 \*.\*),此时忽略 Type 和 Object 参数
      • getType

        public String getType()
        Get 类型,可以填入 table 、 view 、 proc 、 func 和 \*。当 DbName 为具体数据库名,Type为 \* 时,表示查询该数据库权限(即db.\*),此时忽略 Object 参数
        Returns:
        Type 类型,可以填入 table 、 view 、 proc 、 func 和 \*。当 DbName 为具体数据库名,Type为 \* 时,表示查询该数据库权限(即db.\*),此时忽略 Object 参数
      • setType

        public void setType​(String Type)
        Set 类型,可以填入 table 、 view 、 proc 、 func 和 \*。当 DbName 为具体数据库名,Type为 \* 时,表示查询该数据库权限(即db.\*),此时忽略 Object 参数
        Parameters:
        Type - 类型,可以填入 table 、 view 、 proc 、 func 和 \*。当 DbName 为具体数据库名,Type为 \* 时,表示查询该数据库权限(即db.\*),此时忽略 Object 参数
      • getObject

        public String getObject()
        Get 具体的 Type 的名称,例如 Type 为 table 时就是具体的表名。DbName 和 Type 都为具体名称,则 Object 表示具体对象名,不能为 \* 或者为空
        Returns:
        Object 具体的 Type 的名称,例如 Type 为 table 时就是具体的表名。DbName 和 Type 都为具体名称,则 Object 表示具体对象名,不能为 \* 或者为空
      • setObject

        public void setObject​(String Object)
        Set 具体的 Type 的名称,例如 Type 为 table 时就是具体的表名。DbName 和 Type 都为具体名称,则 Object 表示具体对象名,不能为 \* 或者为空
        Parameters:
        Object - 具体的 Type 的名称,例如 Type 为 table 时就是具体的表名。DbName 和 Type 都为具体名称,则 Object 表示具体对象名,不能为 \* 或者为空
      • getColName

        public String getColName()
        Get 当 Type=table 时,ColName 为 \* 表示查询表的权限,如果为具体字段名,表示查询对应字段的权限
        Returns:
        ColName 当 Type=table 时,ColName 为 \* 表示查询表的权限,如果为具体字段名,表示查询对应字段的权限
      • setColName

        public void setColName​(String ColName)
        Set 当 Type=table 时,ColName 为 \* 表示查询表的权限,如果为具体字段名,表示查询对应字段的权限
        Parameters:
        ColName - 当 Type=table 时,ColName 为 \* 表示查询表的权限,如果为具体字段名,表示查询对应字段的权限