public static final class RegisterUserRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
RegisterUserRequest |
build() |
RegisterUserRequest.Builder |
mobile(String mobile)
The mobile number of the user.
|
RegisterUserRequest.Builder |
regionId(String regionId)
RegionId.
|
RegisterUserRequest.Builder |
roleNames(String roleNames)
The role that you want to assign to the user.
|
RegisterUserRequest.Builder |
tid(Long tid)
The ID of the tenant.
|
RegisterUserRequest.Builder |
uid(String uid)
The UID of the Alibaba Cloud account of the user that you want to register.
|
RegisterUserRequest.Builder |
userNick(String userNick)
The nickname of the user.
|
public RegisterUserRequest.Builder regionId(String regionId)
public RegisterUserRequest.Builder mobile(String mobile)
public RegisterUserRequest.Builder roleNames(String roleNames)
* **USER**: a regular user role * **DBA**: a database administrator (DBA) role * **ADMIN**: a DMS administrator role * **SECURITY_ADMIN**: a security administrator role > If you do not specify this parameter, the regular user role is assigned to the user by default. You can assign one or more roles to the user. Separate multiple roles with commas (,).
public RegisterUserRequest.Builder tid(Long tid)
> To query ID of the tenant, move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see the "View information about the current tenant" section of the [Manage DMS tenants](~~181330~~) topic.
public RegisterUserRequest.Builder uid(String uid)
public RegisterUserRequest.Builder userNick(String userNick)
public RegisterUserRequest build()
Copyright © 2023. All rights reserved.