CopyableBuilder<DecryptRequest.Builder,DecryptRequest>
, SdkBuilder<DecryptRequest.Builder,DecryptRequest>
public static interface DecryptRequest.Builder extends CopyableBuilder<DecryptRequest.Builder,DecryptRequest>
Modifier and Type | Method | Description |
---|---|---|
DecryptRequest.Builder |
ciphertextBlob(ByteBuffer ciphertextBlob) |
Ciphertext to be decrypted.
|
DecryptRequest.Builder |
encryptionContext(Map<String,String> encryptionContext) |
The encryption context.
|
DecryptRequest.Builder |
grantTokens(String... grantTokens) |
A list of grant tokens.
|
DecryptRequest.Builder |
grantTokens(Collection<String> grantTokens) |
A list of grant tokens.
|
copy
apply, build
DecryptRequest.Builder ciphertextBlob(ByteBuffer ciphertextBlob)
Ciphertext to be decrypted. The blob includes metadata.
ciphertextBlob
- Ciphertext to be decrypted. The blob includes metadata.DecryptRequest.Builder encryptionContext(Map<String,String> encryptionContext)
The encryption context. If this was specified in the Encrypt function, it must be specified here or the decryption operation will fail. For more information, see Encryption Context.
encryptionContext
- The encryption context. If this was specified in the Encrypt function, it must be specified
here or the decryption operation will fail. For more information, see Encryption
Context.DecryptRequest.Builder grantTokens(Collection<String> grantTokens)
A list of grant tokens.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
grantTokens
- A list of grant tokens.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
DecryptRequest.Builder grantTokens(String... grantTokens)
A list of grant tokens.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
NOTE: This method appends the values to the existing list (if any). Use
#setGrantTokens(java.util.Collection)
or #withGrantTokens(java.util.Collection)
if you want
to override the existing values.
grantTokens
- A list of grant tokens.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.