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.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
DecryptRequest.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.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.