public class RestartNodesRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| RestartNodesRequest() | 
| RestartNodesRequest(RestartNodesRequest 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 | 
|---|---|
| Long | getCvmDelayOnlineTime()Get cvm延迟上架时间 | 
| EnableScheduleOperationDuration | getEnableScheduleOperationDuration()Get 置放群组异步任务时间段 | 
| Boolean | getEnableScheduleRecoverGroup()Get 是否开启置放群组异步任务 | 
| String[] | getEventTypeIds()Get 事件id列表 | 
| Boolean | getForceRestart()Get 是否强制重启 | 
| String | getInstanceId()Get 集群实例ID | 
| Boolean | getIsOffline()Get 节点状态,在蓝绿模式中使用;离线节点蓝绿有风险 | 
| String[] | getNodeNames()Get 节点名称列表 | 
| String | getRestartMode()Get 可选重启模式"in-place","blue-green",分别表示重启,蓝绿重启;默认值为"in-place" | 
| Long | getShardAllocationBytes()Get 分片迁移并发速度 | 
| Long | getShardAllocationConcurrents()Get 分片迁移并发数 | 
| void | setCvmDelayOnlineTime(Long CvmDelayOnlineTime)Set cvm延迟上架时间 | 
| void | setEnableScheduleOperationDuration(EnableScheduleOperationDuration EnableScheduleOperationDuration)Set 置放群组异步任务时间段 | 
| void | setEnableScheduleRecoverGroup(Boolean EnableScheduleRecoverGroup)Set 是否开启置放群组异步任务 | 
| void | setEventTypeIds(String[] EventTypeIds)Set 事件id列表 | 
| void | setForceRestart(Boolean ForceRestart)Set 是否强制重启 | 
| void | setInstanceId(String InstanceId)Set 集群实例ID | 
| void | setIsOffline(Boolean IsOffline)Set 节点状态,在蓝绿模式中使用;离线节点蓝绿有风险 | 
| void | setNodeNames(String[] NodeNames)Set 节点名称列表 | 
| void | setRestartMode(String RestartMode)Set 可选重启模式"in-place","blue-green",分别表示重启,蓝绿重启;默认值为"in-place" | 
| void | setShardAllocationBytes(Long ShardAllocationBytes)Set 分片迁移并发速度 | 
| void | setShardAllocationConcurrents(Long ShardAllocationConcurrents)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 RestartNodesRequest()
public RestartNodesRequest(RestartNodesRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId - 集群实例IDpublic String[] getNodeNames()
public void setNodeNames(String[] NodeNames)
NodeNames - 节点名称列表public Boolean getForceRestart()
public void setForceRestart(Boolean ForceRestart)
ForceRestart - 是否强制重启public String getRestartMode()
public void setRestartMode(String RestartMode)
RestartMode - 可选重启模式"in-place","blue-green",分别表示重启,蓝绿重启;默认值为"in-place"public Boolean getIsOffline()
public void setIsOffline(Boolean IsOffline)
IsOffline - 节点状态,在蓝绿模式中使用;离线节点蓝绿有风险public Long getCvmDelayOnlineTime()
public void setCvmDelayOnlineTime(Long CvmDelayOnlineTime)
CvmDelayOnlineTime - cvm延迟上架时间public Long getShardAllocationConcurrents()
public void setShardAllocationConcurrents(Long ShardAllocationConcurrents)
ShardAllocationConcurrents - 分片迁移并发数public Long getShardAllocationBytes()
public void setShardAllocationBytes(Long ShardAllocationBytes)
ShardAllocationBytes - 分片迁移并发速度public Boolean getEnableScheduleRecoverGroup()
public void setEnableScheduleRecoverGroup(Boolean EnableScheduleRecoverGroup)
EnableScheduleRecoverGroup - 是否开启置放群组异步任务public EnableScheduleOperationDuration getEnableScheduleOperationDuration()
public void setEnableScheduleOperationDuration(EnableScheduleOperationDuration EnableScheduleOperationDuration)
EnableScheduleOperationDuration - 置放群组异步任务时间段public String[] getEventTypeIds()
public void setEventTypeIds(String[] EventTypeIds)
EventTypeIds - 事件id列表Copyright © 2025. All rights reserved.