public static interface EncryptResponse.Builder extends KMSResponse.Builder, CopyableBuilder<EncryptResponse.Builder,EncryptResponse>
Modifier and Type | Method and Description |
---|---|
EncryptResponse.Builder |
ciphertextBlob(ByteBuffer ciphertextBlob)
The encrypted plaintext.
|
EncryptResponse.Builder |
keyId(String keyId)
The ID of the key used during encryption.
|
build
copy
apply, build
EncryptResponse.Builder ciphertextBlob(ByteBuffer ciphertextBlob)
The encrypted plaintext. When you use the HTTP API or the AWS CLI, the value is Base64-encoded. Otherwise, it is not encoded.
To preserve immutability, the remaining bytes in the provided buffer will be copied into a new buffer when set.
ciphertextBlob
- The encrypted plaintext. When you use the HTTP API or the AWS CLI, the value is Base64-encoded.
Otherwise, it is not encoded.EncryptResponse.Builder keyId(String keyId)
The ID of the key used during encryption.
keyId
- The ID of the key used during encryption.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.