public static interface DecryptResponse.Builder extends KMSResponse.Builder, CopyableBuilder<DecryptResponse.Builder,DecryptResponse>
Modifier and Type | Method and Description |
---|---|
DecryptResponse.Builder |
keyId(String keyId)
ARN of the key used to perform the decryption.
|
DecryptResponse.Builder |
plaintext(ByteBuffer plaintext)
Decrypted plaintext data.
|
build
copy
apply, build
DecryptResponse.Builder keyId(String keyId)
ARN of the key used to perform the decryption. This value is returned if no errors are encountered during the operation.
keyId
- ARN of the key used to perform the decryption. This value is returned if no errors are encountered
during the operation.DecryptResponse.Builder plaintext(ByteBuffer plaintext)
Decrypted plaintext data. 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.
plaintext
- Decrypted plaintext data. When you use the HTTP API or the AWS CLI, the value is Base64-encoded.
Otherwise, it is not encoded.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.