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 |
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 |
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. Default value: nopublic String getAuthentication()
public void setAuthentication(String Authentication)
Authentication
- Valid values: `win-windows authentication`, `sql-sqlserver authentication`. Default value: `sql-sqlserver authentication`Copyright © 2022. All rights reserved.