public class DeleteServiceInstancesRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
container
The name of the container whose process needs to be restarted.
|
String |
instanceList
The instances that you want to restart.
|
Boolean |
softRestart
Specifies whether to restart only the container process without recreating the instance.
|
| 构造器和说明 |
|---|
DeleteServiceInstancesRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static DeleteServiceInstancesRequest |
build(Map<String,?> map) |
String |
getContainer() |
String |
getInstanceList() |
Boolean |
getSoftRestart() |
DeleteServiceInstancesRequest |
setContainer(String container) |
DeleteServiceInstancesRequest |
setInstanceList(String instanceList) |
DeleteServiceInstancesRequest |
setSoftRestart(Boolean softRestart) |
@NameInMap(value="Container") public String container
The name of the container whose process needs to be restarted. This parameter takes effect only if the SoftRestart parameter is set to true.
example:worker0
@NameInMap(value="InstanceList") public String instanceList
The instances that you want to restart. Separate multiple instance names with commas (,). For more information about how to query the instance name, see ListServiceInstances.
This parameter is required.
example:foo-rdsbxxxx,foo-rdsaxxxx
@NameInMap(value="SoftRestart") public Boolean softRestart
Specifies whether to restart only the container process without recreating the instance. Default value: false. Valid values: true and false.
example:true
public static DeleteServiceInstancesRequest build(Map<String,?> map) throws Exception
Exceptionpublic DeleteServiceInstancesRequest setContainer(String container)
public String getContainer()
public DeleteServiceInstancesRequest setInstanceList(String instanceList)
public String getInstanceList()
public DeleteServiceInstancesRequest setSoftRestart(Boolean softRestart)
public Boolean getSoftRestart()
Copyright © 2024. All rights reserved.