public static interface DecryptRequest.Builder extends KMSRequest.Builder, CopyableBuilder<DecryptRequest.Builder,DecryptRequest>
| Modifier and Type | Method and Description |
|---|---|
DecryptRequest.Builder |
ciphertextBlob(ByteBuffer 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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
DecryptRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildDecryptRequest.Builder ciphertextBlob(ByteBuffer ciphertextBlob)
Ciphertext to be decrypted. The blob includes metadata.
To preserve immutability, the remaining bytes in the provided buffer will be copied into a new buffer when set.
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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.DecryptRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.