Class AccountCreateInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.sqlserver.v20180328.models.AccountCreateInfo
-
public class AccountCreateInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAccountType()
Get 账号类型,IsAdmin的扩展字段。 L0-超级权限(基础版独有),L1-高级权限,L2-特殊权限,L3-普通权限,默认L3String
getAuthentication()
Get win-windows鉴权,sql-sqlserver鉴权,不填默认值为sql-sqlserver鉴权DBPrivilege[]
getDBPrivileges()
Get DB权限列表Boolean
getIsAdmin()
Get 是否为管理员账户,当值为true 等价于基础版AccountType=L0,高可用AccountType=L1,当值为false,等价于AccountType=L3String
getPassword()
Get 实例密码String
getRemark()
Get 账号备注信息String
getUserName()
Get 实例用户名void
setAccountType(String AccountType)
Set 账号类型,IsAdmin的扩展字段。 L0-超级权限(基础版独有),L1-高级权限,L2-特殊权限,L3-普通权限,默认L3void
setAuthentication(String Authentication)
Set win-windows鉴权,sql-sqlserver鉴权,不填默认值为sql-sqlserver鉴权void
setDBPrivileges(DBPrivilege[] DBPrivileges)
Set DB权限列表void
setIsAdmin(Boolean IsAdmin)
Set 是否为管理员账户,当值为true 等价于基础版AccountType=L0,高可用AccountType=L1,当值为false,等价于AccountType=L3void
setPassword(String Password)
Set 实例密码void
setRemark(String Remark)
Set 账号备注信息void
setUserName(String UserName)
Set 实例用户名void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
AccountCreateInfo
public AccountCreateInfo()
-
AccountCreateInfo
public 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.
-
-
Method Detail
-
getUserName
public String getUserName()
Get 实例用户名- Returns:
- UserName 实例用户名
-
setUserName
public void setUserName(String UserName)
Set 实例用户名- Parameters:
UserName
- 实例用户名
-
getPassword
public String getPassword()
Get 实例密码- Returns:
- Password 实例密码
-
setPassword
public void setPassword(String Password)
Set 实例密码- Parameters:
Password
- 实例密码
-
getDBPrivileges
public DBPrivilege[] getDBPrivileges()
Get DB权限列表- Returns:
- DBPrivileges DB权限列表
-
setDBPrivileges
public void setDBPrivileges(DBPrivilege[] DBPrivileges)
Set DB权限列表- Parameters:
DBPrivileges
- DB权限列表
-
getRemark
public String getRemark()
Get 账号备注信息- Returns:
- Remark 账号备注信息
-
setRemark
public void setRemark(String Remark)
Set 账号备注信息- Parameters:
Remark
- 账号备注信息
-
getIsAdmin
public Boolean getIsAdmin()
Get 是否为管理员账户,当值为true 等价于基础版AccountType=L0,高可用AccountType=L1,当值为false,等价于AccountType=L3- Returns:
- IsAdmin 是否为管理员账户,当值为true 等价于基础版AccountType=L0,高可用AccountType=L1,当值为false,等价于AccountType=L3
-
setIsAdmin
public void setIsAdmin(Boolean IsAdmin)
Set 是否为管理员账户,当值为true 等价于基础版AccountType=L0,高可用AccountType=L1,当值为false,等价于AccountType=L3- Parameters:
IsAdmin
- 是否为管理员账户,当值为true 等价于基础版AccountType=L0,高可用AccountType=L1,当值为false,等价于AccountType=L3
-
getAuthentication
public String getAuthentication()
Get win-windows鉴权,sql-sqlserver鉴权,不填默认值为sql-sqlserver鉴权- Returns:
- Authentication win-windows鉴权,sql-sqlserver鉴权,不填默认值为sql-sqlserver鉴权
-
setAuthentication
public void setAuthentication(String Authentication)
Set win-windows鉴权,sql-sqlserver鉴权,不填默认值为sql-sqlserver鉴权- Parameters:
Authentication
- win-windows鉴权,sql-sqlserver鉴权,不填默认值为sql-sqlserver鉴权
-
getAccountType
public String getAccountType()
Get 账号类型,IsAdmin的扩展字段。 L0-超级权限(基础版独有),L1-高级权限,L2-特殊权限,L3-普通权限,默认L3- Returns:
- AccountType 账号类型,IsAdmin的扩展字段。 L0-超级权限(基础版独有),L1-高级权限,L2-特殊权限,L3-普通权限,默认L3
-
setAccountType
public void setAccountType(String AccountType)
Set 账号类型,IsAdmin的扩展字段。 L0-超级权限(基础版独有),L1-高级权限,L2-特殊权限,L3-普通权限,默认L3- Parameters:
AccountType
- 账号类型,IsAdmin的扩展字段。 L0-超级权限(基础版独有),L1-高级权限,L2-特殊权限,L3-普通权限,默认L3
-
-