public class Account extends AbstractModel
header, skipSign
Constructor and Description |
---|
Account() |
Account(Account 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 |
getAccountName()
Get Account name.
|
String |
getCreateTime()
Get Creation time
|
String |
getInstanceId()
Get Instance ID.
|
String |
getPrivilege()
Get Read/Write permission policy.
|
String[] |
getReadonlyPolicy()
Get Read-only routing policy.
|
String |
getRemark()
Get Account description.
|
Long |
getStatus()
Get Sub-account status.
|
void |
setAccountName(String AccountName)
Set Account name.
|
void |
setCreateTime(String CreateTime)
Set Creation time
|
void |
setInstanceId(String InstanceId)
Set Instance ID.
|
void |
setPrivilege(String Privilege)
Set Read/Write permission policy.
|
void |
setReadonlyPolicy(String[] ReadonlyPolicy)
Set Read-only routing policy.
|
void |
setRemark(String Remark)
Set Account description.
|
void |
setStatus(Long Status)
Set Sub-account status.
|
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, toJsonString
public Account()
public Account(Account source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID.public String getAccountName()
public void setAccountName(String AccountName)
AccountName
- Account name.public String getRemark()
public void setRemark(String Remark)
Remark
- Account description.public String getPrivilege()
public void setPrivilege(String Privilege)
Privilege
- Read/Write permission policy.
- r: read-only.
- w: write-only.
- rw: read/write.public String[] getReadonlyPolicy()
public void setReadonlyPolicy(String[] ReadonlyPolicy)
ReadonlyPolicy
- Read-only routing policy.
- master: primary node.
- replication: replica node.public Long getStatus()
public void setStatus(Long Status)
Status
- Sub-account status.
- 1: account under modification.
- 2: valid account.
- 4: account deleted.public String getCreateTime()
public void setCreateTime(String CreateTime)
CreateTime
- Creation timeCopyright © 2025. All rights reserved.