public class DisassociateInstancesKeyPairsRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
DisassociateInstancesKeyPairsRequest()  | 
DisassociateInstancesKeyPairsRequest(DisassociateInstancesKeyPairsRequest 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 | 
getForceStop()
Get Whether to force shut down the running instance. 
 | 
String[] | 
getInstanceIds()
Get You can get available instance IDs in the following ways:
Log in to the console to query instance IDs. 
 | 
String[] | 
getKeyIds()
Get List of key pair IDs. 
 | 
void | 
setForceStop(Boolean ForceStop)
Set Whether to force shut down the running instance. 
 | 
void | 
setInstanceIds(String[] InstanceIds)
Set You can get available instance IDs in the following ways:
Log in to the console to query instance IDs. 
 | 
void | 
setKeyIds(String[] KeyIds)
Set List of key pair IDs. 
 | 
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 DisassociateInstancesKeyPairsRequest()
public DisassociateInstancesKeyPairsRequest(DisassociateInstancesKeyPairsRequest source)
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds - You can get available instance IDs in the following ways:
Log in to the console to query instance IDs.
Get the instance IDs from the `InstanceId` field in the information returned by the `DescribeInstances` API.public String[] getKeyIds()
public void setKeyIds(String[] KeyIds)
KeyIds - List of key pair IDs. Each request can contain up to 100 key pairs. The key pair ID takes the form of `skey-11112222`.
You can get available key IDs in the following ways:
Log in to the console to query key IDs.
Get the key pair IDs from the `KeyId` field in the information returned by the `DescribeKeyPairs` API.public Boolean getForceStop()
public void setForceStop(Boolean ForceStop)
ForceStop - Whether to force shut down the running instance. We recommend you manually shut down the running instance before unbinding the key. Valid values:
TRUE: yes.
FALSE: no.
Default value: FALSE.Copyright © 2025. All rights reserved.