public class AssociateInstancesKeyPairsRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
AssociateInstancesKeyPairsRequest() |
AssociateInstancesKeyPairsRequest(AssociateInstancesKeyPairsRequest 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 |
---|---|
String[] |
getInstanceIds()
Get Instance ID list.
|
String[] |
getKeyIds()
Get Key pair ID list.
|
void |
setInstanceIds(String[] InstanceIds)
Set Instance ID list.
|
void |
setKeyIds(String[] KeyIds)
Set Key pair ID list.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public AssociateInstancesKeyPairsRequest()
public AssociateInstancesKeyPairsRequest(AssociateInstancesKeyPairsRequest source)
public String[] getKeyIds()
public void setKeyIds(String[] KeyIds)
KeyIds
- Key pair ID list. Each request can contain up to 100 key pairs.public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- Instance ID list. Each request can contain up to 100 instances at a time. You can get an instance ID from the `InstanceId` returned by the [DescribeInstances](https://intl.cloud.tencent.com/document/api/1207/47573?from_cn_redirect=1) API.Copyright © 2024. All rights reserved.