public static interface EncryptResponse.Builder extends KmsResponse.Builder, SdkPojo, CopyableBuilder<EncryptResponse.Builder,EncryptResponse>
Modifier and Type | Method and Description |
---|---|
EncryptResponse.Builder |
ciphertextBlob(SdkBytes ciphertextBlob)
The encrypted plaintext.
|
EncryptResponse.Builder |
encryptionAlgorithm(EncryptionAlgorithmSpec encryptionAlgorithm)
The encryption algorithm that was used to encrypt the plaintext.
|
EncryptResponse.Builder |
encryptionAlgorithm(String encryptionAlgorithm)
The encryption algorithm that was used to encrypt the plaintext.
|
EncryptResponse.Builder |
keyId(String keyId)
The Amazon Resource Name (key ARN) of the
KMS key that was used to encrypt the plaintext.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
EncryptResponse.Builder ciphertextBlob(SdkBytes ciphertextBlob)
The encrypted plaintext. 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 plaintext. When you use the HTTP API or the Amazon Web Services CLI, the value is
Base64-encoded. Otherwise, it is not Base64-encoded.EncryptResponse.Builder keyId(String keyId)
The Amazon Resource Name (key ARN) of the KMS key that was used to encrypt the plaintext.
keyId
- The Amazon Resource Name (key ARN)
of the KMS key that was used to encrypt the plaintext.EncryptResponse.Builder encryptionAlgorithm(String encryptionAlgorithm)
The encryption algorithm that was used to encrypt the plaintext.
encryptionAlgorithm
- The encryption algorithm that was used to encrypt the plaintext.EncryptionAlgorithmSpec
,
EncryptionAlgorithmSpec
EncryptResponse.Builder encryptionAlgorithm(EncryptionAlgorithmSpec encryptionAlgorithm)
The encryption algorithm that was used to encrypt the plaintext.
encryptionAlgorithm
- The encryption algorithm that was used to encrypt the plaintext.EncryptionAlgorithmSpec
,
EncryptionAlgorithmSpec
Copyright © 2022. All rights reserved.