public class DisassociateInstancesKeyPairsRequest extends AbstractModel
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 a running instances.
|
String[] |
getInstanceIds()
Get Instance ID(s).
|
String[] |
getKeyIds()
Get List of key pair IDs.
|
void |
setForceStop(Boolean ForceStop)
Set Whether to force shut down a running instances.
|
void |
setInstanceIds(String[] InstanceIds)
Set Instance ID(s).
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public DisassociateInstancesKeyPairsRequest()
public DisassociateInstancesKeyPairsRequest(DisassociateInstancesKeyPairsRequest source)
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- Instance ID(s). The maximum number of instances in each request is 100. public String[] getKeyIds()
public void setKeyIds(String[] KeyIds)
KeyIds
- List of key pair IDs. The maximum number of key pairs in each request is 100. The key pair ID is in the format of `skey-11112222`. public Boolean getForceStop()
public void setForceStop(Boolean ForceStop)
ForceStop
- Whether to force shut down a running instances. It is recommended to manually shut down a running instance before disassociating a key pair from it. Valid values: Copyright © 2023. All rights reserved.