public class CreateKeyResponse extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| CreateKeyResponse() | 
| CreateKeyResponse(CreateKeyResponse 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 | getAlias()Get 作为密钥更容易辨识,更容易被人看懂的别名 | 
| Long | getCreateTime()Get 密钥创建时间,unix时间戳 | 
| String | getDescription()Get CMK的描述 | 
| String | getHsmClusterId()Get HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效) | 
| String | getKeyId()Get CMK的全局唯一标识符 | 
| String | getKeyState()Get CMK的状态 | 
| String | getKeyUsage()Get CMK的用途 | 
| String | getRequestId()Get 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 | 
| Long | getTagCode()Get 标签操作的返回码. | 
| String | getTagMsg()Get 标签操作的返回信息 | 
| void | setAlias(String Alias)Set 作为密钥更容易辨识,更容易被人看懂的别名 | 
| void | setCreateTime(Long CreateTime)Set 密钥创建时间,unix时间戳 | 
| void | setDescription(String Description)Set CMK的描述 | 
| void | setHsmClusterId(String HsmClusterId)Set HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效) | 
| void | setKeyId(String KeyId)Set CMK的全局唯一标识符 | 
| void | setKeyState(String KeyState)Set CMK的状态 | 
| void | setKeyUsage(String KeyUsage)Set CMK的用途 | 
| void | setRequestId(String RequestId)Set 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 | 
| void | setTagCode(Long TagCode)Set 标签操作的返回码. | 
| void | setTagMsg(String TagMsg)Set 标签操作的返回信息 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateKeyResponse()
public CreateKeyResponse(CreateKeyResponse source)
public String getKeyId()
public void setKeyId(String KeyId)
KeyId - CMK的全局唯一标识符public String getAlias()
public void setAlias(String Alias)
Alias - 作为密钥更容易辨识,更容易被人看懂的别名public Long getCreateTime()
public void setCreateTime(Long CreateTime)
CreateTime - 密钥创建时间,unix时间戳public String getDescription()
public void setDescription(String Description)
Description - CMK的描述public String getKeyState()
public void setKeyState(String KeyState)
KeyState - CMK的状态public String getKeyUsage()
public void setKeyUsage(String KeyUsage)
KeyUsage - CMK的用途public Long getTagCode()
public void setTagCode(Long TagCode)
TagCode - 标签操作的返回码. 0: 成功;1: 内部错误;2: 业务处理错误public String getTagMsg()
public void setTagMsg(String TagMsg)
TagMsg - 标签操作的返回信息public String getHsmClusterId()
public void setHsmClusterId(String HsmClusterId)
HsmClusterId - HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)public String getRequestId()
public void setRequestId(String RequestId)
RequestId - 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。Copyright © 2025. All rights reserved.