public class DescribeKeyPairsRequest extends AbstractModel
| Constructor and Description | 
|---|
| DescribeKeyPairsRequest() | 
| DescribeKeyPairsRequest(DescribeKeyPairsRequest 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 | 
|---|---|
| Filter[] | getFilters()Get Filters
 `project-id` - Integer - Optional - Filter by project ID. | 
| String[] | getKeyIds()Get Key pair ID(s) in the format of `skey-11112222`. | 
| Long | getLimit()Get Number of results returned; default value: 20; maximum: 100. | 
| Long | getOffset()Get Offset; default value: 0. | 
| void | setFilters(Filter[] Filters)Set Filters
 `project-id` - Integer - Optional - Filter by project ID. | 
| void | setKeyIds(String[] KeyIds)Set Key pair ID(s) in the format of `skey-11112222`. | 
| void | setLimit(Long Limit)Set Number of results returned; default value: 20; maximum: 100. | 
| void | setOffset(Long Offset)Set Offset; default value: 0. | 
| 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, toJsonStringpublic DescribeKeyPairsRequest()
public DescribeKeyPairsRequest(DescribeKeyPairsRequest source)
public String[] getKeyIds()
public void setKeyIds(String[] KeyIds)
KeyIds - Key pair ID(s) in the format of `skey-11112222`. This API supports using multiple IDs as filters at the same time. For more information on the format of this parameter, see the `id.N` section in [API Introduction](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1). You cannot specify `KeyIds` and `Filters` at the same time. You can log in to the [console](https://console.cloud.tencent.com/cvm/index) to query the key pair IDs.public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters - Filters
public Long getOffset()
public void setOffset(Long Offset)
Offset - Offset; default value: 0. For more information on `Offset`, see the corresponding sections in API [Introduction](https://intl.cloud.tencent.com/document/product/377). Number of results returned; default value: 20; maximum: 100. For more information on `Limit`, see the corresponding section in API [Introduction](https://intl.cloud.tencent.com/document/product/377).public Long getLimit()
public void setLimit(Long Limit)
Limit - Number of results returned; default value: 20; maximum: 100. For more information on `Limit`, see the corresponding section in API [Introduction](https://intl.cloud.tencent.com/document/product/377).Copyright © 2023. All rights reserved.