Class DescribeKeyPairsRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.lighthouse.v20200324.models.DescribeKeyPairsRequest
-
public class DescribeKeyPairsRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Filter[]
getFilters()
Get 过滤器列表。 key-id按照【密钥对ID】进行过滤。 类型:String 必选:否 key-name按照【密钥对名称】进行过滤(支持模糊匹配)。 类型:String 必选:否 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 KeyIds 和 Filters。String[]
getKeyIds()
Get 密钥对 ID 列表。Long
getLimit()
Get 返回数量,默认为 20,最大值为 100。Long
getOffset()
Get 偏移量,默认为 0。void
setFilters(Filter[] Filters)
Set 过滤器列表。 key-id按照【密钥对ID】进行过滤。 类型:String 必选:否 key-name按照【密钥对名称】进行过滤(支持模糊匹配)。 类型:String 必选:否 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 KeyIds 和 Filters。void
setKeyIds(String[] KeyIds)
Set 密钥对 ID 列表。void
setLimit(Long Limit)
Set 返回数量,默认为 20,最大值为 100。void
setOffset(Long Offset)
Set 偏移量,默认为 0。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
-
DescribeKeyPairsRequest
public DescribeKeyPairsRequest()
-
DescribeKeyPairsRequest
public 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.
-
-
Method Detail
-
getKeyIds
public String[] getKeyIds()
Get 密钥对 ID 列表。- Returns:
- KeyIds 密钥对 ID 列表。
-
setKeyIds
public void setKeyIds(String[] KeyIds)
Set 密钥对 ID 列表。- Parameters:
KeyIds
- 密钥对 ID 列表。
-
getOffset
public Long getOffset()
Get 偏移量,默认为 0。- Returns:
- Offset 偏移量,默认为 0。
-
setOffset
public void setOffset(Long Offset)
Set 偏移量,默认为 0。- Parameters:
Offset
- 偏移量,默认为 0。
-
getLimit
public Long getLimit()
Get 返回数量,默认为 20,最大值为 100。- Returns:
- Limit 返回数量,默认为 20,最大值为 100。
-
setLimit
public void setLimit(Long Limit)
Set 返回数量,默认为 20,最大值为 100。- Parameters:
Limit
- 返回数量,默认为 20,最大值为 100。
-
getFilters
public Filter[] getFilters()
Get 过滤器列表。- key-id
按照【密钥对ID】进行过滤。 类型:String 必选:否- key-name
按照【密钥对名称】进行过滤(支持模糊匹配)。 类型:String 必选:否 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 KeyIds 和 Filters。- Returns:
- Filters 过滤器列表。
- key-id
按照【密钥对ID】进行过滤。 类型:String 必选:否- key-name
按照【密钥对名称】进行过滤(支持模糊匹配)。 类型:String 必选:否 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 KeyIds 和 Filters。
-
setFilters
public void setFilters(Filter[] Filters)
Set 过滤器列表。- key-id
按照【密钥对ID】进行过滤。 类型:String 必选:否- key-name
按照【密钥对名称】进行过滤(支持模糊匹配)。 类型:String 必选:否 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 KeyIds 和 Filters。- Parameters:
Filters
- 过滤器列表。- key-id
按照【密钥对ID】进行过滤。 类型:String 必选:否- key-name
按照【密钥对名称】进行过滤(支持模糊匹配)。 类型:String 必选:否 每次请求的 Filters 的上限为 10,Filter.Values 的上限为 5。参数不支持同时指定 KeyIds 和 Filters。
-
-