Interface EncryptDataResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<EncryptDataResponse.Builder,
,EncryptDataResponse> PaymentCryptographyDataResponse.Builder
,SdkBuilder<EncryptDataResponse.Builder,
,EncryptDataResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
EncryptDataResponse
public static interface EncryptDataResponse.Builder
extends PaymentCryptographyDataResponse.Builder, SdkPojo, CopyableBuilder<EncryptDataResponse.Builder,EncryptDataResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncipherText
(String cipherText) The encrypted ciphertext.ThekeyARN
of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.keyCheckValue
(String keyCheckValue) The key check value (KCV) of the encryption key.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.paymentcryptographydata.model.PaymentCryptographyDataResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
cipherText
The encrypted ciphertext.
- Parameters:
cipherText
- The encrypted ciphertext.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyArn
The
keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.- Parameters:
keyArn
- ThekeyARN
of the encryption key that Amazon Web Services Payment Cryptography uses for plaintext encryption.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyCheckValue
The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.
Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.
- Parameters:
keyCheckValue
- The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-