public class RedeployInstanceRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Boolean |
forceStop
Specifies whether to forcefully stop the instance that is in the Running state.
|
String |
instanceId
The ID of the instance.
|
String |
ownerAccount |
Long |
ownerId |
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
构造器和说明 |
---|
RedeployInstanceRequest() |
限定符和类型 | 方法和说明 |
---|---|
static RedeployInstanceRequest |
build(Map<String,?> map) |
Boolean |
getForceStop() |
String |
getInstanceId() |
String |
getOwnerAccount() |
Long |
getOwnerId() |
String |
getResourceOwnerAccount() |
Long |
getResourceOwnerId() |
RedeployInstanceRequest |
setForceStop(Boolean forceStop) |
RedeployInstanceRequest |
setInstanceId(String instanceId) |
RedeployInstanceRequest |
setOwnerAccount(String ownerAccount) |
RedeployInstanceRequest |
setOwnerId(Long ownerId) |
RedeployInstanceRequest |
setResourceOwnerAccount(String resourceOwnerAccount) |
RedeployInstanceRequest |
setResourceOwnerId(Long resourceOwnerId) |
@NameInMap(value="ForceStop") public Boolean forceStop
Specifies whether to forcefully stop the instance that is in the Running state.
Default value: false.
example:A forced stop is equivalent to a power outage, and unsaved data may be lost. We recommend that you redeploy instances that are in the Stopped state.
false
@NameInMap(value="InstanceId") public String instanceId
The ID of the instance.
This parameter is required.
example:i-bp1azkttqpldxgted****
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
public static RedeployInstanceRequest build(Map<String,?> map) throws Exception
Exception
public RedeployInstanceRequest setForceStop(Boolean forceStop)
public Boolean getForceStop()
public RedeployInstanceRequest setInstanceId(String instanceId)
public String getInstanceId()
public RedeployInstanceRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public RedeployInstanceRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public RedeployInstanceRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public RedeployInstanceRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
Copyright © 2024. All rights reserved.