Interface ReEncryptDataRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ReEncryptDataRequest.Builder,ReEncryptDataRequest>,PaymentCryptographyDataRequest.Builder,SdkBuilder<ReEncryptDataRequest.Builder,ReEncryptDataRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ReEncryptDataRequest
public static interface ReEncryptDataRequest.Builder extends PaymentCryptographyDataRequest.Builder, SdkPojo, CopyableBuilder<ReEncryptDataRequest.Builder,ReEncryptDataRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ReEncryptDataRequest.BuildercipherText(String cipherText)Ciphertext to be encrypted.default ReEncryptDataRequest.BuilderincomingEncryptionAttributes(Consumer<ReEncryptionAttributes.Builder> incomingEncryptionAttributes)The attributes and values for incoming ciphertext.ReEncryptDataRequest.BuilderincomingEncryptionAttributes(ReEncryptionAttributes incomingEncryptionAttributes)The attributes and values for incoming ciphertext.ReEncryptDataRequest.BuilderincomingKeyIdentifier(String incomingKeyIdentifier)ThekeyARNof 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.ReEncryptDataRequest.BuilderoutgoingEncryptionAttributes(ReEncryptionAttributes outgoingEncryptionAttributes)The attributes and values for outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.ReEncryptDataRequest.BuilderoutgoingKeyIdentifier(String outgoingKeyIdentifier)ThekeyARNof the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.ReEncryptDataRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ReEncryptDataRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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, sdkFields
-
-
-
-
Method Detail
-
cipherText
ReEncryptDataRequest.Builder cipherText(String cipherText)
Ciphertext 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.
-
incomingEncryptionAttributes
ReEncryptDataRequest.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.
-
incomingEncryptionAttributes
default 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 onReEncryptionAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
incomingEncryptionAttributes(ReEncryptionAttributes)
-
incomingKeyIdentifier
ReEncryptDataRequest.Builder incomingKeyIdentifier(String incomingKeyIdentifier)
The
keyARNof the encryption key of incoming ciphertext data.- Parameters:
incomingKeyIdentifier- ThekeyARNof the encryption key of incoming ciphertext data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outgoingEncryptionAttributes
ReEncryptDataRequest.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.
-
outgoingEncryptionAttributes
default 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 onReEncryptionAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
outgoingEncryptionAttributes(ReEncryptionAttributes)
-
outgoingKeyIdentifier
ReEncryptDataRequest.Builder outgoingKeyIdentifier(String outgoingKeyIdentifier)
The
keyARNof the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.- Parameters:
outgoingKeyIdentifier- ThekeyARNof 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.
-
overrideConfiguration
ReEncryptDataRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ReEncryptDataRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-