Interface DecryptDataRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DecryptDataRequest.Builder,DecryptDataRequest>,PaymentCryptographyDataRequest.Builder,SdkBuilder<DecryptDataRequest.Builder,DecryptDataRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DecryptDataRequest
public static interface DecryptDataRequest.Builder extends PaymentCryptographyDataRequest.Builder, SdkPojo, CopyableBuilder<DecryptDataRequest.Builder,DecryptDataRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DecryptDataRequest.BuildercipherText(String cipherText)The ciphertext to decrypt.default DecryptDataRequest.BuilderdecryptionAttributes(Consumer<EncryptionDecryptionAttributes.Builder> decryptionAttributes)The encryption key type and attributes for ciphertext decryption.DecryptDataRequest.BuilderdecryptionAttributes(EncryptionDecryptionAttributes decryptionAttributes)The encryption key type and attributes for ciphertext decryption.DecryptDataRequest.BuilderkeyIdentifier(String keyIdentifier)ThekeyARNof the encryption key that Amazon Web Services Payment Cryptography uses for ciphertext decryption.DecryptDataRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)DecryptDataRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default DecryptDataRequest.BuilderwrappedKey(Consumer<WrappedKey.Builder> wrappedKey)The WrappedKeyBlock containing the encryption key for ciphertext decryption.DecryptDataRequest.BuilderwrappedKey(WrappedKey wrappedKey)The WrappedKeyBlock containing the encryption key for ciphertext decryption.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.paymentcryptographydata.model.PaymentCryptographyDataRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
keyIdentifier
DecryptDataRequest.Builder keyIdentifier(String keyIdentifier)
The
keyARNof the encryption key that Amazon Web Services Payment Cryptography uses for ciphertext decryption.When a WrappedKeyBlock is provided, this value will be the identifier to the key wrapping key. Otherwise, it is the key identifier used to perform the operation.
- Parameters:
keyIdentifier- ThekeyARNof the encryption key that Amazon Web Services Payment Cryptography uses for ciphertext decryption.When a WrappedKeyBlock is provided, this value will be the identifier to the key wrapping key. Otherwise, it is the key identifier used to perform the operation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cipherText
DecryptDataRequest.Builder cipherText(String cipherText)
The ciphertext to decrypt.
- Parameters:
cipherText- The ciphertext to decrypt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
decryptionAttributes
DecryptDataRequest.Builder decryptionAttributes(EncryptionDecryptionAttributes decryptionAttributes)
The encryption key type and attributes for ciphertext decryption.
- Parameters:
decryptionAttributes- The encryption key type and attributes for ciphertext decryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
decryptionAttributes
default DecryptDataRequest.Builder decryptionAttributes(Consumer<EncryptionDecryptionAttributes.Builder> decryptionAttributes)
The encryption key type and attributes for ciphertext decryption.
This is a convenience method that creates an instance of theEncryptionDecryptionAttributes.Builderavoiding the need to create one manually viaEncryptionDecryptionAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todecryptionAttributes(EncryptionDecryptionAttributes).- Parameters:
decryptionAttributes- a consumer that will call methods onEncryptionDecryptionAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
decryptionAttributes(EncryptionDecryptionAttributes)
-
wrappedKey
DecryptDataRequest.Builder wrappedKey(WrappedKey wrappedKey)
The WrappedKeyBlock containing the encryption key for ciphertext decryption.
- Parameters:
wrappedKey- The WrappedKeyBlock containing the encryption key for ciphertext decryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wrappedKey
default DecryptDataRequest.Builder wrappedKey(Consumer<WrappedKey.Builder> wrappedKey)
The WrappedKeyBlock containing the encryption key for ciphertext decryption.
This is a convenience method that creates an instance of theWrappedKey.Builderavoiding the need to create one manually viaWrappedKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towrappedKey(WrappedKey).- Parameters:
wrappedKey- a consumer that will call methods onWrappedKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
wrappedKey(WrappedKey)
-
overrideConfiguration
DecryptDataRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DecryptDataRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-