Interface GeneratePinDataResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GeneratePinDataResponse.Builder,GeneratePinDataResponse>,PaymentCryptographyDataResponse.Builder,SdkBuilder<GeneratePinDataResponse.Builder,GeneratePinDataResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GeneratePinDataResponse
public static interface GeneratePinDataResponse.Builder extends PaymentCryptographyDataResponse.Builder, SdkPojo, CopyableBuilder<GeneratePinDataResponse.Builder,GeneratePinDataResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GeneratePinDataResponse.BuilderencryptedPinBlock(String encryptedPinBlock)The PIN block encrypted under PEK from Amazon Web Services Payment Cryptography.GeneratePinDataResponse.BuilderencryptionKeyArn(String encryptionKeyArn)ThekeyARNof the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation.GeneratePinDataResponse.BuilderencryptionKeyCheckValue(String encryptionKeyCheckValue)The key check value (KCV) of the encryption key.GeneratePinDataResponse.BuildergenerationKeyArn(String generationKeyArn)ThekeyARNof the pin data generation key that Amazon Web Services Payment Cryptography uses for PIN, PVV or PIN Offset generation.GeneratePinDataResponse.BuildergenerationKeyCheckValue(String generationKeyCheckValue)The key check value (KCV) of the encryption key.default GeneratePinDataResponse.BuilderpinData(Consumer<PinData.Builder> pinData)The attributes and values Amazon Web Services Payment Cryptography uses for pin data generation.GeneratePinDataResponse.BuilderpinData(PinData pinData)The attributes and values Amazon Web Services Payment Cryptography uses for pin data generation.-
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 Detail
-
encryptedPinBlock
GeneratePinDataResponse.Builder encryptedPinBlock(String encryptedPinBlock)
The PIN block encrypted under PEK from Amazon Web Services Payment Cryptography. The encrypted PIN block is a composite of PAN (Primary Account Number) and PIN (Personal Identification Number), generated in accordance with ISO 9564 standard.
- Parameters:
encryptedPinBlock- The PIN block encrypted under PEK from Amazon Web Services Payment Cryptography. The encrypted PIN block is a composite of PAN (Primary Account Number) and PIN (Personal Identification Number), generated in accordance with ISO 9564 standard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKeyArn
GeneratePinDataResponse.Builder encryptionKeyArn(String encryptionKeyArn)
The
keyARNof the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation.- Parameters:
encryptionKeyArn- ThekeyARNof the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKeyCheckValue
GeneratePinDataResponse.Builder encryptionKeyCheckValue(String encryptionKeyCheckValue)
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 calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.
- Parameters:
encryptionKeyCheckValue- 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 calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generationKeyArn
GeneratePinDataResponse.Builder generationKeyArn(String generationKeyArn)
The
keyARNof the pin data generation key that Amazon Web Services Payment Cryptography uses for PIN, PVV or PIN Offset generation.- Parameters:
generationKeyArn- ThekeyARNof the pin data generation key that Amazon Web Services Payment Cryptography uses for PIN, PVV or PIN Offset generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
generationKeyCheckValue
GeneratePinDataResponse.Builder generationKeyCheckValue(String generationKeyCheckValue)
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 calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.
- Parameters:
generationKeyCheckValue- 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 calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pinData
GeneratePinDataResponse.Builder pinData(PinData pinData)
The attributes and values Amazon Web Services Payment Cryptography uses for pin data generation.
- Parameters:
pinData- The attributes and values Amazon Web Services Payment Cryptography uses for pin data generation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pinData
default GeneratePinDataResponse.Builder pinData(Consumer<PinData.Builder> pinData)
The attributes and values Amazon Web Services Payment Cryptography uses for pin data generation.
This is a convenience method that creates an instance of thePinData.Builderavoiding the need to create one manually viaPinData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topinData(PinData).- Parameters:
pinData- a consumer that will call methods onPinData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
pinData(PinData)
-
-