public static interface GenerateDataKeyResponse.Builder extends KmsResponse.Builder, SdkPojo, CopyableBuilder<GenerateDataKeyResponse.Builder,GenerateDataKeyResponse>
Modifier and Type | Method and Description |
---|---|
GenerateDataKeyResponse.Builder |
ciphertextBlob(SdkBytes ciphertextBlob)
The encrypted copy of the data key.
|
GenerateDataKeyResponse.Builder |
keyId(String keyId)
The Amazon Resource Name (key ARN) of the
KMS key that encrypted the data key.
|
GenerateDataKeyResponse.Builder |
plaintext(SdkBytes plaintext)
The plaintext data key.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
GenerateDataKeyResponse.Builder ciphertextBlob(SdkBytes ciphertextBlob)
The encrypted copy of the data key. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
ciphertextBlob
- The encrypted copy of the data key. When you use the HTTP API or the Amazon Web Services CLI, the
value is Base64-encoded. Otherwise, it is not Base64-encoded.GenerateDataKeyResponse.Builder plaintext(SdkBytes plaintext)
The plaintext data key. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded. Use this data key to encrypt your data outside of KMS. Then, remove it from memory as soon as possible.
plaintext
- The plaintext data key. When you use the HTTP API or the Amazon Web Services CLI, the value is
Base64-encoded. Otherwise, it is not Base64-encoded. Use this data key to encrypt your data outside of
KMS. Then, remove it from memory as soon as possible.GenerateDataKeyResponse.Builder keyId(String keyId)
The Amazon Resource Name (key ARN) of the KMS key that encrypted the data key.
keyId
- The Amazon Resource Name (key ARN)
of the KMS key that encrypted the data key.Copyright © 2022. All rights reserved.