public class AddClusterSlaveZoneRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| AddClusterSlaveZoneRequest() | 
| AddClusterSlaveZoneRequest(AddClusterSlaveZoneRequest 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 | getBinlogSyncWay()Get binlog同步方式。默认值:async。可选值:sync、semisync、async | 
| String | getClusterId()Get 集群ID | 
| Long | getSemiSyncTimeout()Get 半同步超时时间,单位ms。为保证业务稳定性,半同步复制存在退化逻辑,当主可用区集群在等待备可用区集群确认事务时若超过该超时时间,复制方式将降为异步复制。最低设置为1000ms,最高支持4294967295ms,默认10000ms。 | 
| String | getSlaveZone()Get 从可用区 | 
| void | setBinlogSyncWay(String BinlogSyncWay)Set binlog同步方式。默认值:async。可选值:sync、semisync、async | 
| void | setClusterId(String ClusterId)Set 集群ID | 
| void | setSemiSyncTimeout(Long SemiSyncTimeout)Set 半同步超时时间,单位ms。为保证业务稳定性,半同步复制存在退化逻辑,当主可用区集群在等待备可用区集群确认事务时若超过该超时时间,复制方式将降为异步复制。最低设置为1000ms,最高支持4294967295ms,默认10000ms。 | 
| void | setSlaveZone(String SlaveZone)Set 从可用区 | 
| 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 AddClusterSlaveZoneRequest()
public AddClusterSlaveZoneRequest(AddClusterSlaveZoneRequest source)
public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId - 集群IDpublic String getSlaveZone()
public void setSlaveZone(String SlaveZone)
SlaveZone - 从可用区public String getBinlogSyncWay()
public void setBinlogSyncWay(String BinlogSyncWay)
BinlogSyncWay - binlog同步方式。默认值:async。可选值:sync、semisync、asyncpublic Long getSemiSyncTimeout()
public void setSemiSyncTimeout(Long SemiSyncTimeout)
SemiSyncTimeout - 半同步超时时间,单位ms。为保证业务稳定性,半同步复制存在退化逻辑,当主可用区集群在等待备可用区集群确认事务时若超过该超时时间,复制方式将降为异步复制。最低设置为1000ms,最高支持4294967295ms,默认10000ms。Copyright © 2025. All rights reserved.