Class KeyMetadata
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cloudaudit.v20190319.models.KeyMetadata
-
public class KeyMetadata extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description KeyMetadata()KeyMetadata(KeyMetadata 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 StringgetAlias()Get 作为密钥更容易辨识,更容易被人看懂的别名StringgetKeyId()Get CMK的全局唯一标识voidsetAlias(String Alias)Set 作为密钥更容易辨识,更容易被人看懂的别名voidsetKeyId(String KeyId)Set CMK的全局唯一标识voidtoMap(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
-
KeyMetadata
public KeyMetadata()
-
KeyMetadata
public KeyMetadata(KeyMetadata 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
-
getAlias
public String getAlias()
Get 作为密钥更容易辨识,更容易被人看懂的别名- Returns:
- Alias 作为密钥更容易辨识,更容易被人看懂的别名
-
setAlias
public void setAlias(String Alias)
Set 作为密钥更容易辨识,更容易被人看懂的别名- Parameters:
Alias- 作为密钥更容易辨识,更容易被人看懂的别名
-
getKeyId
public String getKeyId()
Get CMK的全局唯一标识- Returns:
- KeyId CMK的全局唯一标识
-
setKeyId
public void setKeyId(String KeyId)
Set CMK的全局唯一标识- Parameters:
KeyId- CMK的全局唯一标识
-
-