public class GenerateDataKeyResponse extends AbstractModel
Constructor and Description |
---|
GenerateDataKeyResponse() |
Modifier and Type | Method and Description |
---|---|
String |
getCiphertextBlob()
Get Ciphertext of the data key, which should be kept by yourself.
|
String |
getKeyId()
Get
|
String |
getPlaintext()
Get Plaintext of the generated data key.
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
void |
setCiphertextBlob(String CiphertextBlob)
Set Ciphertext of the data key, which should be kept by yourself.
|
void |
setKeyId(String KeyId)
Set
|
void |
setPlaintext(String Plaintext)
Set Plaintext of the generated data key.
|
void |
setRequestId(String RequestId)
Set The unique request ID, which is returned for each request.
|
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 String getKeyId()
public void setKeyId(String KeyId)
KeyId
- public String getPlaintext()
public void setPlaintext(String Plaintext)
Plaintext
- Plaintext of the generated data key. The plaintext is Base64-encoded and can be used locally after having it Base64-decoded.public String getCiphertextBlob()
public void setCiphertextBlob(String CiphertextBlob)
CiphertextBlob
- Ciphertext of the data key, which should be kept by yourself. KMS does not host user data keys. You can call the `Decrypt` API to get the plaintext of the data key from `CiphertextBlob`.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 © 2020. All rights reserved.