public class AccountPrivilegeModifyInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
AccountPrivilegeModifyInfo() |
AccountPrivilegeModifyInfo(AccountPrivilegeModifyInfo 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 |
getAccountType()
Get Account type, which is an extension field of `IsAdmin`.
|
DBPrivilegeModifyInfo[] |
getDBPrivileges()
Get Account permission change information
|
Boolean |
getIsAdmin()
Get Whether it is an instance admin account.
|
String |
getUserName()
Get Database username
|
void |
setAccountType(String AccountType)
Set Account type, which is an extension field of `IsAdmin`.
|
void |
setDBPrivileges(DBPrivilegeModifyInfo[] DBPrivileges)
Set Account permission change information
|
void |
setIsAdmin(Boolean IsAdmin)
Set Whether it is an instance admin account.
|
void |
setUserName(String UserName)
Set Database username
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public AccountPrivilegeModifyInfo()
public AccountPrivilegeModifyInfo(AccountPrivilegeModifyInfo source)
public String getUserName()
public void setUserName(String UserName)
UserName
- Database usernamepublic DBPrivilegeModifyInfo[] getDBPrivileges()
public void setDBPrivileges(DBPrivilegeModifyInfo[] DBPrivileges)
DBPrivileges
- Account permission change informationpublic Boolean getIsAdmin()
public void setIsAdmin(Boolean IsAdmin)
IsAdmin
- Whether it is an instance admin account. Valid values: `true` (Yes. When the instance is single-node and `AccountType` is `L0`, it's an admin account; when the instance is two-node and `AccountType` is `L1`, it's a privileged account), `false` (No. It's a standard account and `AccountType` is `L3`).public String getAccountType()
public void setAccountType(String AccountType)
AccountType
- Account type, which is an extension field of `IsAdmin`. Valid values: `L0` (admin account, only for basic edition), `L1` (privileged account), `L2` (designated account), `L3` (standard account, default)Copyright © 2024. All rights reserved.