Interface ReEncryptDataRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<ReEncryptDataRequest.Builder,,- ReEncryptDataRequest> - PaymentCryptographyDataRequest.Builder,- SdkBuilder<ReEncryptDataRequest.Builder,,- ReEncryptDataRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- ReEncryptDataRequest
- 
Method SummaryModifier and TypeMethodDescriptioncipherText(String cipherText) Ciphertext to be encrypted.default ReEncryptDataRequest.BuilderincomingEncryptionAttributes(Consumer<ReEncryptionAttributes.Builder> incomingEncryptionAttributes) The attributes and values for incoming ciphertext.incomingEncryptionAttributes(ReEncryptionAttributes incomingEncryptionAttributes) The attributes and values for incoming ciphertext.incomingKeyIdentifier(String incomingKeyIdentifier) ThekeyARNof the encryption key of incoming ciphertext data.default ReEncryptDataRequest.BuilderincomingWrappedKey(Consumer<WrappedKey.Builder> incomingWrappedKey) The WrappedKeyBlock containing the encryption key of incoming ciphertext data.incomingWrappedKey(WrappedKey incomingWrappedKey) The WrappedKeyBlock containing the encryption key of incoming ciphertext data.default ReEncryptDataRequest.BuilderoutgoingEncryptionAttributes(Consumer<ReEncryptionAttributes.Builder> outgoingEncryptionAttributes) The attributes and values for outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.outgoingEncryptionAttributes(ReEncryptionAttributes outgoingEncryptionAttributes) The attributes and values for outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.outgoingKeyIdentifier(String outgoingKeyIdentifier) ThekeyARNof the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.default ReEncryptDataRequest.BuilderoutgoingWrappedKey(Consumer<WrappedKey.Builder> outgoingWrappedKey) The WrappedKeyBlock containing the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.outgoingWrappedKey(WrappedKey outgoingWrappedKey) The WrappedKeyBlock containing the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.paymentcryptographydata.model.PaymentCryptographyDataRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
incomingKeyIdentifierThe keyARNof the encryption key of incoming ciphertext data.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:
- incomingKeyIdentifier- The- keyARNof the encryption key of incoming ciphertext data.- 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.
 
- 
outgoingKeyIdentifierThe keyARNof the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.- Parameters:
- outgoingKeyIdentifier- The- keyARNof the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
cipherTextCiphertext to be encrypted. The minimum allowed length is 16 bytes and maximum allowed length is 4096 bytes. - Parameters:
- cipherText- Ciphertext to be encrypted. The minimum allowed length is 16 bytes and maximum allowed length is 4096 bytes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
incomingEncryptionAttributesReEncryptDataRequest.Builder incomingEncryptionAttributes(ReEncryptionAttributes incomingEncryptionAttributes) The attributes and values for incoming ciphertext. - Parameters:
- incomingEncryptionAttributes- The attributes and values for incoming ciphertext.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
incomingEncryptionAttributesdefault ReEncryptDataRequest.Builder incomingEncryptionAttributes(Consumer<ReEncryptionAttributes.Builder> incomingEncryptionAttributes) The attributes and values for incoming ciphertext. This is a convenience method that creates an instance of theReEncryptionAttributes.Builderavoiding the need to create one manually viaReEncryptionAttributes.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toincomingEncryptionAttributes(ReEncryptionAttributes).- Parameters:
- incomingEncryptionAttributes- a consumer that will call methods on- ReEncryptionAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
outgoingEncryptionAttributesReEncryptDataRequest.Builder outgoingEncryptionAttributes(ReEncryptionAttributes outgoingEncryptionAttributes) The attributes and values for outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography. - Parameters:
- outgoingEncryptionAttributes- The attributes and values for outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
outgoingEncryptionAttributesdefault ReEncryptDataRequest.Builder outgoingEncryptionAttributes(Consumer<ReEncryptionAttributes.Builder> outgoingEncryptionAttributes) The attributes and values for outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography. This is a convenience method that creates an instance of theReEncryptionAttributes.Builderavoiding the need to create one manually viaReEncryptionAttributes.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutgoingEncryptionAttributes(ReEncryptionAttributes).- Parameters:
- outgoingEncryptionAttributes- a consumer that will call methods on- ReEncryptionAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
incomingWrappedKeyThe WrappedKeyBlock containing the encryption key of incoming ciphertext data. - Parameters:
- incomingWrappedKey- The WrappedKeyBlock containing the encryption key of incoming ciphertext data.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
incomingWrappedKeydefault ReEncryptDataRequest.Builder incomingWrappedKey(Consumer<WrappedKey.Builder> incomingWrappedKey) The WrappedKeyBlock containing the encryption key of incoming ciphertext data. 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 toincomingWrappedKey(WrappedKey).- Parameters:
- incomingWrappedKey- a consumer that will call methods on- WrappedKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
outgoingWrappedKeyThe WrappedKeyBlock containing the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography. - Parameters:
- outgoingWrappedKey- The WrappedKeyBlock containing the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
outgoingWrappedKeydefault ReEncryptDataRequest.Builder outgoingWrappedKey(Consumer<WrappedKey.Builder> outgoingWrappedKey) The WrappedKeyBlock containing the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography. 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 tooutgoingWrappedKey(WrappedKey).- Parameters:
- outgoingWrappedKey- a consumer that will call methods on- WrappedKey.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationReEncryptDataRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationReEncryptDataRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-