public class CreateKeyResponse extends AbstractModel
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 CMK description
|
String |
getHsmClusterId()
Get ID of the HSM cluster.
|
String |
getKeyId()
Get Globally unique CMK ID
|
String |
getKeyState()
Get CMK status
|
String |
getKeyUsage()
Get CMK usage
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
Long |
getTagCode()
Get Tag operation return code.
|
String |
getTagMsg()
Get Tag operation return information
|
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 CMK description
|
void |
setHsmClusterId(String HsmClusterId)
Set ID of the HSM cluster.
|
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, which is returned for each request.
|
void |
setTagCode(Long TagCode)
Set Tag operation return code.
|
void |
setTagMsg(String TagMsg)
Set Tag operation return information
|
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 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
- CMK descriptionpublic 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
- Tag operation return code. 0: success; 1: internal error; 2: business processing errorpublic String getTagMsg()
public void setTagMsg(String TagMsg)
TagMsg
- Tag operation return informationpublic String getHsmClusterId()
public void setHsmClusterId(String HsmClusterId)
HsmClusterId
- ID of the HSM cluster. This field is only valid for Exclusive and Managed KMS instances.
Note: This field may return `null`, indicating that no valid value can be obtained.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2023. All rights reserved.