public class AccountCreateInfo extends AbstractModel
Constructor and Description |
---|
AccountCreateInfo() |
AccountCreateInfo(AccountCreateInfo 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`.
|
String |
getAuthentication()
Get Valid values: `win-windows authentication`, `sql-sqlserver authentication`.
|
DBPrivilege[] |
getDBPrivileges()
Get List of database permissions
|
Boolean |
getIsAdmin()
Get Whether it is an admin account.
|
String |
getPassword()
Get Instance password
|
String |
getRemark()
Get Account remarks
|
String |
getUserName()
Get Instance username
|
void |
setAccountType(String AccountType)
Set Account type, which is an extension field of `IsAdmin`.
|
void |
setAuthentication(String Authentication)
Set Valid values: `win-windows authentication`, `sql-sqlserver authentication`.
|
void |
setDBPrivileges(DBPrivilege[] DBPrivileges)
Set List of database permissions
|
void |
setIsAdmin(Boolean IsAdmin)
Set Whether it is an admin account.
|
void |
setPassword(String Password)
Set Instance password
|
void |
setRemark(String Remark)
Set Account remarks
|
void |
setUserName(String UserName)
Set Instance username
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public AccountCreateInfo()
public AccountCreateInfo(AccountCreateInfo source)
public String getUserName()
public void setUserName(String UserName)
UserName
- Instance usernamepublic String getPassword()
public void setPassword(String Password)
Password
- Instance passwordpublic DBPrivilege[] getDBPrivileges()
public void setDBPrivileges(DBPrivilege[] DBPrivileges)
DBPrivileges
- List of database permissionspublic String getRemark()
public void setRemark(String Remark)
Remark
- Account remarkspublic Boolean getIsAdmin()
public void setIsAdmin(Boolean IsAdmin)
IsAdmin
- Whether it is an admin account. Valid values: `true` (Yes. It is an admin account when the instance is a basic edition type and `AccountType` is `L0`; it is a privileged account when the instance is a dual-server high availability edition type and `AccountType` is `L1`.), `false` (No. It is a standard account when `AccountType` is `L3`.)public String getAuthentication()
public void setAuthentication(String Authentication)
Authentication
- Valid values: `win-windows authentication`, `sql-sqlserver authentication`. Default value: `sql-sqlserver authentication`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 © 2023. All rights reserved.