public class EnableReplicaReadonlyRequest extends AbstractModel
Constructor and Description |
---|
EnableReplicaReadonlyRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getInstanceId()
Get Serial ID of an instance
|
String[] |
getReadonlyPolicy()
Get Account routing policy.
|
void |
setInstanceId(String InstanceId)
Set Serial ID of an instance
|
void |
setReadonlyPolicy(String[] ReadonlyPolicy)
Set Account routing policy.
|
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 String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Serial ID of an instancepublic String[] getReadonlyPolicy()
public void setReadonlyPolicy(String[] ReadonlyPolicy)
ReadonlyPolicy
- Account routing policy. If `master` or `replication` is entered, it means to route to the primary or secondary node; if this is left blank, it means to write into the primary node and read from the secondary node by defaultCopyright © 2020. All rights reserved.