public static final class GrantUserPermissionRequest.Builder extends Object
public GrantUserPermissionRequest.Builder regionId(String regionId)
public GrantUserPermissionRequest.Builder dbId(String dbId)
> The value of the DatabaseId parameter is that of the DbId parameter.
public GrantUserPermissionRequest.Builder dsType(String dsType)
* INSTANCE: permissions on instances * DATABASE: permissions on physical databases * LOGIC_DATABASE: permissions on logical databases * TABLE: permissions on physical tables * LOGIC_TABLE: permissions on logical tables
public GrantUserPermissionRequest.Builder expireDate(String expireDate)
public GrantUserPermissionRequest.Builder instanceId(Long instanceId)
public GrantUserPermissionRequest.Builder logic(Boolean logic)
* true: The database is a logical database. * false: The database is a physical database.
public GrantUserPermissionRequest.Builder permTypes(String permTypes)
* **QUERY**: the query permissions * **EXPORT**: the export permissions * **CORRECT**: the change permissions * **LOGIN**: the logon permissions * **PERF**: the query permissions on the performance details of the instance
public GrantUserPermissionRequest.Builder tableId(String tableId)
public GrantUserPermissionRequest.Builder tableName(String tableName)
public GrantUserPermissionRequest.Builder tid(Long tid)
> To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.
public GrantUserPermissionRequest.Builder userId(String userId)
> The user ID is different from the ID of your Alibaba Cloud account.
public GrantUserPermissionRequest build()
Copyright © 2023. All rights reserved.