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 Alias that makes a key more recognizable and understandable
|
Long |
getCreateTime()
Get Key creation time in UNIX timestamp format
|
String |
getDescription()
Get Specifies the description of the CMK.
|
String |
getHsmClusterId()
Get HSM cluster ID (valid only for exclusive or managed version KMS service instances).
|
String |
getKeyId()
Get Globally unique CMK ID
|
String |
getKeyState()
Get CMK status
|
String |
getKeyUsage()
Get CMK usage
|
String |
getRequestId()
Get The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
Long |
getTagCode()
Get Return code of Tag operation.
|
String |
getTagMsg()
Get Response information of Tag operation.
|
void |
setAlias(String Alias)
Set Alias that makes a key more recognizable and understandable
|
void |
setCreateTime(Long CreateTime)
Set Key creation time in UNIX timestamp format
|
void |
setDescription(String Description)
Set Specifies the description of the CMK.
|
void |
setHsmClusterId(String HsmClusterId)
Set HSM cluster ID (valid only for exclusive or managed version KMS service instances).
|
void |
setKeyId(String KeyId)
Set Globally unique CMK ID
|
void |
setKeyState(String KeyState)
Set CMK status
|
void |
setKeyUsage(String KeyUsage)
Set CMK usage
|
void |
setRequestId(String RequestId)
Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
void |
setTagCode(Long TagCode)
Set Return code of Tag operation.
|
void |
setTagMsg(String TagMsg)
Set Response information of Tag operation.
|
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, toJsonString
public CreateKeyResponse()
public CreateKeyResponse(CreateKeyResponse source)
public String getKeyId()
public void setKeyId(String KeyId)
KeyId
- Globally unique CMK IDpublic String getAlias()
public void setAlias(String Alias)
Alias
- Alias that makes a key more recognizable and understandablepublic Long getCreateTime()
public void setCreateTime(Long CreateTime)
CreateTime
- Key creation time in UNIX timestamp formatpublic String getDescription()
public void setDescription(String Description)
Description
- Specifies the description of the CMK.public String getKeyState()
public void setKeyState(String KeyState)
KeyState
- CMK statuspublic String getKeyUsage()
public void setKeyUsage(String KeyUsage)
KeyUsage
- CMK usagepublic Long getTagCode()
public void setTagCode(Long TagCode)
TagCode
- Return code of Tag operation. `0`: success; `1`: cls internal error; `2`: business processing error.public String getTagMsg()
public void setTagMsg(String TagMsg)
TagMsg
- Response information of Tag operation.public String getHsmClusterId()
public void setHsmClusterId(String HsmClusterId)
HsmClusterId
- HSM cluster ID (valid only for exclusive or managed version KMS service instances).public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.Copyright © 2025. All rights reserved.