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 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 | 
| String[] | getKeyIds()Get 密钥对 ID 列表,每次请求批量密钥对的上限为 100。可通过[DescribeKeyPairs](https://cloud.tencent.com/document/api/1207/55540)接口返回值中的KeyId获取。 | 
| void | setInstanceIds(String[] InstanceIds)Set 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。 | 
| void | setKeyIds(String[] KeyIds)Set 密钥对 ID 列表,每次请求批量密钥对的上限为 100。可通过[DescribeKeyPairs](https://cloud.tencent.com/document/api/1207/55540)接口返回值中的KeyId获取。 | 
| 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 AssociateInstancesKeyPairsRequest()
public AssociateInstancesKeyPairsRequest(AssociateInstancesKeyPairsRequest source)
public String[] getKeyIds()
public void setKeyIds(String[] KeyIds)
KeyIds - 密钥对 ID 列表,每次请求批量密钥对的上限为 100。可通过[DescribeKeyPairs](https://cloud.tencent.com/document/api/1207/55540)接口返回值中的KeyId获取。public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds - 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。Copyright © 2025. All rights reserved.