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
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 permission policy.
|
String[] |
getReadonlyPolicy()
Get Read-only 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
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 permission policy.
|
void |
setReadonlyPolicy(String[] ReadonlyPolicy)
Set Read-only 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, GetHeader, getMultipartRequestParams, getSkipSign, 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
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
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 permission policy. Valid values: `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
- Read-only routing policy. Valid values: `master` (master node), `replication` (replica 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. Valid values: `1` (being changed), `2` (valid). `4` (deleted).
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2024. All rights reserved.