public static interface GenerateDataKeyResponse.Builder extends KmsResponse.Builder, CopyableBuilder<GenerateDataKeyResponse.Builder,GenerateDataKeyResponse>
Modifier and Type | Method and Description |
---|---|
GenerateDataKeyResponse.Builder |
ciphertextBlob(SdkBytes ciphertextBlob)
The encrypted data encryption key.
|
GenerateDataKeyResponse.Builder |
keyId(String keyId)
The identifier of the CMK under which the data encryption key was generated and encrypted.
|
GenerateDataKeyResponse.Builder |
plaintext(SdkBytes plaintext)
The data encryption key.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GenerateDataKeyResponse.Builder ciphertextBlob(SdkBytes ciphertextBlob)
The encrypted data encryption key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not encoded.
ciphertextBlob
- The encrypted data encryption key. When you use the HTTP API or the AWS CLI, the value is
Base64-encoded. Otherwise, it is not encoded.GenerateDataKeyResponse.Builder plaintext(SdkBytes plaintext)
The data encryption key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not encoded. Use this data key for local encryption and decryption, then remove it from memory as soon as possible.
plaintext
- The data encryption key. When you use the HTTP API or the AWS CLI, the value is Base64-encoded.
Otherwise, it is not encoded. Use this data key for local encryption and decryption, then remove it
from memory as soon as possible.GenerateDataKeyResponse.Builder keyId(String keyId)
The identifier of the CMK under which the data encryption key was generated and encrypted.
keyId
- The identifier of the CMK under which the data encryption key was generated and encrypted.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.