Class GeneratePinDataRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.paymentcryptographydata.model.PaymentCryptographyDataRequest
-
- software.amazon.awssdk.services.paymentcryptographydata.model.GeneratePinDataRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GeneratePinDataRequest.Builder,GeneratePinDataRequest>
@Generated("software.amazon.awssdk:codegen") public final class GeneratePinDataRequest extends PaymentCryptographyDataRequest implements ToCopyableBuilder<GeneratePinDataRequest.Builder,GeneratePinDataRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGeneratePinDataRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GeneratePinDataRequest.Builderbuilder()StringencryptionKeyIdentifier()ThekeyARNof the PEK that Amazon Web Services Payment Cryptography uses to encrypt the PIN Block.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)PinGenerationAttributesgenerationAttributes()The attributes and values to use for PIN, PVV, or PIN Offset generation.StringgenerationKeyIdentifier()ThekeyARNof the PEK that Amazon Web Services Payment Cryptography uses for pin data generation.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()PinBlockFormatForPinDatapinBlockFormat()The PIN encoding format for pin data generation as specified in ISO 9564.StringpinBlockFormatAsString()The PIN encoding format for pin data generation as specified in ISO 9564.IntegerpinDataLength()The length of PIN under generation.StringprimaryAccountNumber()The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.List<SdkField<?>>sdkFields()static Class<? extends GeneratePinDataRequest.Builder>serializableBuilderClass()GeneratePinDataRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
encryptionKeyIdentifier
public final String encryptionKeyIdentifier()
The
keyARNof the PEK that Amazon Web Services Payment Cryptography uses to encrypt the PIN Block.- Returns:
- The
keyARNof the PEK that Amazon Web Services Payment Cryptography uses to encrypt the PIN Block.
-
generationAttributes
public final PinGenerationAttributes generationAttributes()
The attributes and values to use for PIN, PVV, or PIN Offset generation.
- Returns:
- The attributes and values to use for PIN, PVV, or PIN Offset generation.
-
generationKeyIdentifier
public final String generationKeyIdentifier()
The
keyARNof the PEK that Amazon Web Services Payment Cryptography uses for pin data generation.- Returns:
- The
keyARNof the PEK that Amazon Web Services Payment Cryptography uses for pin data generation.
-
pinBlockFormat
public final PinBlockFormatForPinData pinBlockFormat()
The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment Cryptography supports
ISO_Format_0andISO_Format_3.The
ISO_Format_0PIN block format is equivalent to the ANSI X9.8, VISA-1, and ECI-1 PIN block formats. It is similar to a VISA-4 PIN block format. It supports a PIN from 4 to 12 digits in length.The
ISO_Format_3PIN block format is the same asISO_Format_0except that the fill digits are random values from 10 to 15.If the service returns an enum value that is not available in the current SDK version,
pinBlockFormatwill returnPinBlockFormatForPinData.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompinBlockFormatAsString().- Returns:
- The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment
Cryptography supports
ISO_Format_0andISO_Format_3.The
ISO_Format_0PIN block format is equivalent to the ANSI X9.8, VISA-1, and ECI-1 PIN block formats. It is similar to a VISA-4 PIN block format. It supports a PIN from 4 to 12 digits in length.The
ISO_Format_3PIN block format is the same asISO_Format_0except that the fill digits are random values from 10 to 15. - See Also:
PinBlockFormatForPinData
-
pinBlockFormatAsString
public final String pinBlockFormatAsString()
The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment Cryptography supports
ISO_Format_0andISO_Format_3.The
ISO_Format_0PIN block format is equivalent to the ANSI X9.8, VISA-1, and ECI-1 PIN block formats. It is similar to a VISA-4 PIN block format. It supports a PIN from 4 to 12 digits in length.The
ISO_Format_3PIN block format is the same asISO_Format_0except that the fill digits are random values from 10 to 15.If the service returns an enum value that is not available in the current SDK version,
pinBlockFormatwill returnPinBlockFormatForPinData.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompinBlockFormatAsString().- Returns:
- The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment
Cryptography supports
ISO_Format_0andISO_Format_3.The
ISO_Format_0PIN block format is equivalent to the ANSI X9.8, VISA-1, and ECI-1 PIN block formats. It is similar to a VISA-4 PIN block format. It supports a PIN from 4 to 12 digits in length.The
ISO_Format_3PIN block format is the same asISO_Format_0except that the fill digits are random values from 10 to 15. - See Also:
PinBlockFormatForPinData
-
pinDataLength
public final Integer pinDataLength()
The length of PIN under generation.
- Returns:
- The length of PIN under generation.
-
primaryAccountNumber
public final String primaryAccountNumber()
The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
- Returns:
- The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
-
toBuilder
public GeneratePinDataRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GeneratePinDataRequest.Builder,GeneratePinDataRequest>- Specified by:
toBuilderin classPaymentCryptographyDataRequest
-
builder
public static GeneratePinDataRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GeneratePinDataRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-