public class ProxyGroupRwInfo extends AbstractModel
header, skipSign| Constructor and Description |
|---|
ProxyGroupRwInfo() |
ProxyGroupRwInfo(ProxyGroupRwInfo 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 |
getAccessMode()
Get Connection mode.
|
String |
getAutoAddRo()
Get Whether to automatically add read-only instance.
|
Long |
getConsistencyTimeOut()
Get Consistency timeout period
|
String |
getConsistencyType()
Get Consistency type.
|
String |
getFailOver()
Get Whether to enable failover
|
ProxyInstanceWeight[] |
getInstanceWeights()
Get Instance weight array
|
String |
getOpenRw()
Get Whether to enable read-write nodes.
|
String |
getRwType()
Get Read/write attribute.
|
Boolean |
getTransSplit()
Get Transaction split
|
String |
getWeightMode()
Get Weight mode.
|
void |
setAccessMode(String AccessMode)
Set Connection mode.
|
void |
setAutoAddRo(String AutoAddRo)
Set Whether to automatically add read-only instance.
|
void |
setConsistencyTimeOut(Long ConsistencyTimeOut)
Set Consistency timeout period
|
void |
setConsistencyType(String ConsistencyType)
Set Consistency type.
|
void |
setFailOver(String FailOver)
Set Whether to enable failover
|
void |
setInstanceWeights(ProxyInstanceWeight[] InstanceWeights)
Set Instance weight array
|
void |
setOpenRw(String OpenRw)
Set Whether to enable read-write nodes.
|
void |
setRwType(String RwType)
Set Read/write attribute.
|
void |
setTransSplit(Boolean TransSplit)
Set Transaction split
|
void |
setWeightMode(String WeightMode)
Set Weight mode.
|
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, toJsonStringpublic ProxyGroupRwInfo()
public ProxyGroupRwInfo(ProxyGroupRwInfo source)
public String getConsistencyType()
public void setConsistencyType(String ConsistencyType)
ConsistencyType - Consistency type. Valid values: `eventual` (eventual consistency), `session` (session consistency), `global` (global consistency).public Long getConsistencyTimeOut()
public void setConsistencyTimeOut(Long ConsistencyTimeOut)
ConsistencyTimeOut - Consistency timeout periodpublic String getWeightMode()
public void setWeightMode(String WeightMode)
WeightMode - Weight mode. Valid values: `system` (auto-assigned), `custom`.public String getFailOver()
public void setFailOver(String FailOver)
FailOver - Whether to enable failoverpublic String getAutoAddRo()
public void setAutoAddRo(String AutoAddRo)
AutoAddRo - Whether to automatically add read-only instance. Valid value: `yes`, `no`.public ProxyInstanceWeight[] getInstanceWeights()
public void setInstanceWeights(ProxyInstanceWeight[] InstanceWeights)
InstanceWeights - Instance weight arraypublic String getOpenRw()
public void setOpenRw(String OpenRw)
OpenRw - Whether to enable read-write nodes. valid values: yes, no.public String getRwType()
public void setRwType(String RwType)
RwType - Read/write attribute. Valid values: `READWRITE`, `READONLY`.public Boolean getTransSplit()
public void setTransSplit(Boolean TransSplit)
TransSplit - Transaction splitpublic String getAccessMode()
public void setAccessMode(String AccessMode)
AccessMode - Connection mode. Valid values: `balance`, `nearby`.Copyright © 2025. All rights reserved.