public static interface DecryptRequest.Builder extends KmsRequest.Builder, CopyableBuilder<DecryptRequest.Builder,DecryptRequest>
Modifier and Type | Method and Description |
---|---|
DecryptRequest.Builder |
ciphertextBlob(SdkBytes ciphertextBlob)
Ciphertext to be decrypted.
|
DecryptRequest.Builder |
encryptionContext(Map<String,String> encryptionContext)
The encryption context.
|
DecryptRequest.Builder |
grantTokens(Collection<String> grantTokens)
A list of grant tokens.
|
DecryptRequest.Builder |
grantTokens(String... grantTokens)
A list of grant tokens.
|
DecryptRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
DecryptRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
DecryptRequest.Builder ciphertextBlob(SdkBytes 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.
grantTokens
- A list of grant tokens.
For more information, see Grant Tokens in the AWS Key Management Service Developer Guide.
DecryptRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.DecryptRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.