public class ListKeyDetailRequest extends AbstractModel
Constructor and Description |
---|
ListKeyDetailRequest() |
ListKeyDetailRequest(ListKeyDetailRequest 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 |
getHsmClusterId()
Get ID of the HSM cluster.
|
Long |
getKeyState()
Get Filters by CMK status.
|
String |
getKeyUsage()
Get Filters by the `KeyUsage` field value.
|
Long |
getLimit()
Get This parameter has the same meaning of the `Limit` in an SQL query, indicating that up to `Limit` value elements can be obtained in this request.
|
Long |
getOffset()
Get This parameter has the same meaning of the `Offset` in an SQL query, indicating that this acquisition starts from the "No.
|
Long |
getOrderType()
Get Sorts by CMK creation time.
|
String |
getOrigin()
Get Filters by CMK type.
|
Long |
getRole()
Get Filters by creator role.
|
String |
getSearchKeyAlias()
Get Performs a fuzzy query by `KeyId` or `Alias`
|
TagFilter[] |
getTagFilters()
Get Tag filter condition
|
void |
setHsmClusterId(String HsmClusterId)
Set ID of the HSM cluster.
|
void |
setKeyState(Long KeyState)
Set Filters by CMK status.
|
void |
setKeyUsage(String KeyUsage)
Set Filters by the `KeyUsage` field value.
|
void |
setLimit(Long Limit)
Set This parameter has the same meaning of the `Limit` in an SQL query, indicating that up to `Limit` value elements can be obtained in this request.
|
void |
setOffset(Long Offset)
Set This parameter has the same meaning of the `Offset` in an SQL query, indicating that this acquisition starts from the "No.
|
void |
setOrderType(Long OrderType)
Set Sorts by CMK creation time.
|
void |
setOrigin(String Origin)
Set Filters by CMK type.
|
void |
setRole(Long Role)
Set Filters by creator role.
|
void |
setSearchKeyAlias(String SearchKeyAlias)
Set Performs a fuzzy query by `KeyId` or `Alias`
|
void |
setTagFilters(TagFilter[] TagFilters)
Set Tag filter condition
|
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, toJsonString
public ListKeyDetailRequest()
public ListKeyDetailRequest(ListKeyDetailRequest source)
public Long getOffset()
public void setOffset(Long Offset)
Offset
- This parameter has the same meaning of the `Offset` in an SQL query, indicating that this acquisition starts from the "No. Offset value" element of the array arranged in a certain order. The default value is 0.public Long getLimit()
public void setLimit(Long Limit)
Limit
- This parameter has the same meaning of the `Limit` in an SQL query, indicating that up to `Limit` value elements can be obtained in this request. The default value is 10 and the maximum value is 200.public Long getRole()
public void setRole(Long Role)
Role
- Filters by creator role. 0 (default value): the CMK is created by the user; 1: the CMK is created automatically by an authorized Tencent Cloud service.public Long getOrderType()
public void setOrderType(Long OrderType)
OrderType
- Sorts by CMK creation time. 0: descending; 1: ascendingpublic Long getKeyState()
public void setKeyState(Long KeyState)
KeyState
- Filters by CMK status. 0: all CMKs; 1: CMKs in `Enabled` status only; 2: CMKs in `Disabled` status only; 3: CMKs in `PendingDelete` status only (i.e., keys with schedule deletion enabled); 4: CMKs in `PendingImport` status only; 5: CMKs in `Archived` status only.public String getSearchKeyAlias()
public void setSearchKeyAlias(String SearchKeyAlias)
SearchKeyAlias
- Performs a fuzzy query by `KeyId` or `Alias`public String getOrigin()
public void setOrigin(String Origin)
Origin
- Filters by CMK type. "TENCENT_KMS" indicates to filter CMKs whose key materials are created by KMS; "EXTERNAL" indicates to filter CMKs of `EXTERNAL` type whose key materials are imported by users; "ALL" or empty indicates to filter CMKs of both types. This value is case-sensitive.public String getKeyUsage()
public void setKeyUsage(String KeyUsage)
KeyUsage
- Filters by the `KeyUsage` field value. Valid values: `ALL` (all CMKs), `ENCRYPT_DECRYPT` (used when this field is left empty), `ASYMMETRIC_DECRYPT_RSA_2048`, `ASYMMETRIC_DECRYPT_SM2`, `ASYMMETRIC_SIGN_VERIFY_SM2`, `ASYMMETRIC_SIGN_VERIFY_RSA_2048`, and `ASYMMETRIC_SIGN_VERIFY_ECC`.public TagFilter[] getTagFilters()
public void setTagFilters(TagFilter[] TagFilters)
TagFilters
- Tag filter conditionpublic String getHsmClusterId()
public void setHsmClusterId(String HsmClusterId)
HsmClusterId
- ID of the HSM cluster. This field is only valid for Exclusive and Managed KMS instances.Copyright © 2023. All rights reserved.