public class GenerateDataKeyResponse extends AbstractModel
Constructor and Description |
---|
GenerateDataKeyResponse() |
GenerateDataKeyResponse(GenerateDataKeyResponse 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 |
getCiphertextBlob()
Get Ciphertext of the data key, which should be kept by yourself.
|
String |
getKeyId()
Get Globally unique CMK ID
|
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 Globally unique CMK ID
|
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 GenerateDataKeyResponse()
public GenerateDataKeyResponse(GenerateDataKeyResponse source)
public String getKeyId()
public void setKeyId(String KeyId)
KeyId
- Globally unique CMK IDpublic 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 © 2021. All rights reserved.