public class RestartInstanceRequest extends AbstractModel
Constructor and Description |
---|
RestartInstanceRequest() |
RestartInstanceRequest(RestartInstanceRequest 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 |
---|---|
Boolean |
getForceRestart()
Get 是否强制重启true:强制重启false:不强制重启默认false
|
String |
getInstanceId()
Get 实例ID
|
Long |
getRestartMode()
Get 重启模式:0 滚动重启; 1 全量重启
|
void |
setForceRestart(Boolean ForceRestart)
Set 是否强制重启true:强制重启false:不强制重启默认false
|
void |
setInstanceId(String InstanceId)
Set 实例ID
|
void |
setRestartMode(Long RestartMode)
Set 重启模式:0 滚动重启; 1 全量重启
|
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 RestartInstanceRequest()
public RestartInstanceRequest(RestartInstanceRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- 实例IDpublic Boolean getForceRestart()
public void setForceRestart(Boolean ForceRestart)
ForceRestart
- 是否强制重启public Long getRestartMode()
public void setRestartMode(Long RestartMode)
RestartMode
- 重启模式:0 滚动重启; 1 全量重启Copyright © 2022. All rights reserved.