public class Account extends AbstractModel
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 (`root` for a root account)
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getInstanceId()
Get Instance ID
Note: This field may return null, indicating that no valid values can be obtained.
|
String |
getPrivilege()
Get Read/write policy.
|
String[] |
getReadonlyPolicy()
Get Routing policy.
|
String |
getRemark()
Get Account description information
Note: This field may return null, indicating that no valid values can be obtained.
|
Long |
getStatus()
Get Sub-account status.
|
void |
setAccountName(String AccountName)
Set Account name (`root` for a root account)
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setInstanceId(String InstanceId)
Set Instance ID
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setPrivilege(String Privilege)
Set Read/write policy.
|
void |
setReadonlyPolicy(String[] ReadonlyPolicy)
Set Routing policy.
|
void |
setRemark(String Remark)
Set Account description information
Note: This field may return null, indicating that no valid values can be obtained.
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Account()
public Account(Account source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID
Note: This field may return null, indicating that no valid values can be obtained.public String getAccountName()
public void setAccountName(String AccountName)
AccountName
- Account name (`root` for a root account)
Note: This field may return null, indicating that no valid values can be obtained.public String getRemark()
public void setRemark(String Remark)
Remark
- Account description information
Note: This field may return null, indicating that no valid values can be obtained.public String getPrivilege()
public void setPrivilege(String Privilege)
Privilege
- Read/write policy. r: read-only; w: write-only; rw: read/write
Note: This field may return null, indicating that no valid values can be obtained.public String[] getReadonlyPolicy()
public void setReadonlyPolicy(String[] ReadonlyPolicy)
ReadonlyPolicy
- Routing policy. master: master node; replication: secondary node
Note: This field may return null, indicating that no valid values can be obtained.public Long getStatus()
public void setStatus(Long Status)
Status
- Sub-account status. 1: account is being changed; 2: account is valid; -4: account has been deleted
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.