public static interface EncryptDataRequest.Builder extends PaymentCryptographyDataRequest.Builder, SdkPojo, CopyableBuilder<EncryptDataRequest.Builder,EncryptDataRequest>
| Modifier and Type | Method and Description |
|---|---|
default EncryptDataRequest.Builder |
encryptionAttributes(Consumer<EncryptionDecryptionAttributes.Builder> encryptionAttributes)
The encryption key type and attributes for plaintext encryption.
|
EncryptDataRequest.Builder |
encryptionAttributes(EncryptionDecryptionAttributes encryptionAttributes)
The encryption key type and attributes for plaintext encryption.
|
EncryptDataRequest.Builder |
keyIdentifier(String keyIdentifier)
The
keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for
plaintext encryption. |
EncryptDataRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
EncryptDataRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
EncryptDataRequest.Builder |
plainText(String plainText)
The plaintext to be encrypted.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildEncryptDataRequest.Builder encryptionAttributes(EncryptionDecryptionAttributes encryptionAttributes)
The encryption key type and attributes for plaintext encryption.
encryptionAttributes - The encryption key type and attributes for plaintext encryption.default EncryptDataRequest.Builder encryptionAttributes(Consumer<EncryptionDecryptionAttributes.Builder> encryptionAttributes)
The encryption key type and attributes for plaintext encryption.
This is a convenience method that creates an instance of theEncryptionDecryptionAttributes.Builder
avoiding the need to create one manually via EncryptionDecryptionAttributes.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to encryptionAttributes(EncryptionDecryptionAttributes).
encryptionAttributes - a consumer that will call methods on EncryptionDecryptionAttributes.BuilderencryptionAttributes(EncryptionDecryptionAttributes)EncryptDataRequest.Builder keyIdentifier(String keyIdentifier)
The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for
plaintext encryption.
keyIdentifier - The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for
plaintext encryption.EncryptDataRequest.Builder plainText(String plainText)
The plaintext to be encrypted.
plainText - The plaintext to be encrypted.EncryptDataRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderEncryptDataRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.