public class SetAccountUserPrivilegeRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| SetAccountUserPrivilegeRequest() | 
| SetAccountUserPrivilegeRequest(SetAccountUserPrivilegeRequest 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 | 
|---|---|
| Auth[] | getAuthRole()Get 设置权限信息。 | 
| String | getInstanceId()Get 指定待设置账号的实例ID。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。 | 
| String | getUserName()Get 设置访问实例的账号名称。设置要求为:字母开头的1-64个字符,只可输入[A,Z]、[a,z]、[1,9]范围的字符以及下划线“_”与短划线“-”。 | 
| void | setAuthRole(Auth[] AuthRole)Set 设置权限信息。 | 
| void | setInstanceId(String InstanceId)Set 指定待设置账号的实例ID。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。 | 
| void | setUserName(String UserName)Set 设置访问实例的账号名称。设置要求为:字母开头的1-64个字符,只可输入[A,Z]、[a,z]、[1,9]范围的字符以及下划线“_”与短划线“-”。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic SetAccountUserPrivilegeRequest()
public SetAccountUserPrivilegeRequest(SetAccountUserPrivilegeRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - 指定待设置账号的实例ID。例如:cmgo-p8vn****。请登录 [MongoDB 控制台](https://console.cloud.tencent.com/mongodb)在实例列表复制实例 ID。public String getUserName()
public void setUserName(String UserName)
UserName - 设置访问实例的账号名称。设置要求为:字母开头的1-64个字符,只可输入[A,Z]、[a,z]、[1,9]范围的字符以及下划线“_”与短划线“-”。public Auth[] getAuthRole()
public void setAuthRole(Auth[] AuthRole)
AuthRole - 设置权限信息。Copyright © 2025. All rights reserved.