public class StartStopServiceOrMonitorRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
StartStopServiceOrMonitorRequest() |
StartStopServiceOrMonitorRequest(StartStopServiceOrMonitorRequest 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 |
getInstanceId()
Get 集群ID
|
OpScope |
getOpScope()
Get 操作范围
|
String |
getOpType()
Get 操作类型,当前支持
StartService:启动服务
StopService:停止服务
StartMonitor:退出维护
StopMonitor:进入维护
RestartService:重启服务 如果操作类型选择重启服务 StrategyConfig操作策略则是必填项
|
StopParams |
getStopParams()
Get 暂停服务时用的参数
|
StrategyConfig |
getStrategyConfig()
Get 操作策略
|
void |
setInstanceId(String InstanceId)
Set 集群ID
|
void |
setOpScope(OpScope OpScope)
Set 操作范围
|
void |
setOpType(String OpType)
Set 操作类型,当前支持
StartService:启动服务
StopService:停止服务
StartMonitor:退出维护
StopMonitor:进入维护
RestartService:重启服务 如果操作类型选择重启服务 StrategyConfig操作策略则是必填项
|
void |
setStopParams(StopParams StopParams)
Set 暂停服务时用的参数
|
void |
setStrategyConfig(StrategyConfig StrategyConfig)
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, toJsonString
public StartStopServiceOrMonitorRequest()
public StartStopServiceOrMonitorRequest(StartStopServiceOrMonitorRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- 集群IDpublic String getOpType()
public void setOpType(String OpType)
OpType
- 操作类型,当前支持
public OpScope getOpScope()
public void setOpScope(OpScope OpScope)
OpScope
- 操作范围public StrategyConfig getStrategyConfig()
public void setStrategyConfig(StrategyConfig StrategyConfig)
StrategyConfig
- 操作策略public StopParams getStopParams()
public void setStopParams(StopParams StopParams)
StopParams
- 暂停服务时用的参数Copyright © 2024. All rights reserved.