Class AssociateInstancesKeyPairsRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.lighthouse.v20200324.models.AssociateInstancesKeyPairsRequest
-
public class AssociateInstancesKeyPairsRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getInstanceIds()
Get 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。String[]
getKeyIds()
Get 密钥对 ID 列表。每次请求批量密钥对的上限为 100。void
setInstanceIds(String[] InstanceIds)
Set 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。void
setKeyIds(String[] KeyIds)
Set 密钥对 ID 列表。每次请求批量密钥对的上限为 100。void
toMap(HashMap<String,String> map, String prefix)
Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
AssociateInstancesKeyPairsRequest
public AssociateInstancesKeyPairsRequest()
-
AssociateInstancesKeyPairsRequest
public 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.
-
-
Method Detail
-
getKeyIds
public String[] getKeyIds()
Get 密钥对 ID 列表。每次请求批量密钥对的上限为 100。- Returns:
- KeyIds 密钥对 ID 列表。每次请求批量密钥对的上限为 100。
-
setKeyIds
public void setKeyIds(String[] KeyIds)
Set 密钥对 ID 列表。每次请求批量密钥对的上限为 100。- Parameters:
KeyIds
- 密钥对 ID 列表。每次请求批量密钥对的上限为 100。
-
getInstanceIds
public String[] getInstanceIds()
Get 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。- Returns:
- InstanceIds 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
-
setInstanceIds
public void setInstanceIds(String[] InstanceIds)
Set 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。- Parameters:
InstanceIds
- 实例 ID 列表。每次请求批量实例的上限为 100。可通过[DescribeInstances](https://cloud.tencent.com/document/api/1207/47573)接口返回值中的InstanceId获取。
-
-