Struct aws_sdk_paymentcryptographydata::operation::generate_pin_data::builders::GeneratePinDataInputBuilder
source · #[non_exhaustive]pub struct GeneratePinDataInputBuilder { /* private fields */ }
Expand description
A builder for GeneratePinDataInput
.
Implementations§
source§impl GeneratePinDataInputBuilder
impl GeneratePinDataInputBuilder
sourcepub fn generation_key_identifier(self, input: impl Into<String>) -> Self
pub fn generation_key_identifier(self, input: impl Into<String>) -> Self
The keyARN
of the PEK that Amazon Web Services Payment Cryptography uses for pin data generation.
sourcepub fn set_generation_key_identifier(self, input: Option<String>) -> Self
pub fn set_generation_key_identifier(self, input: Option<String>) -> Self
The keyARN
of the PEK that Amazon Web Services Payment Cryptography uses for pin data generation.
sourcepub fn get_generation_key_identifier(&self) -> &Option<String>
pub fn get_generation_key_identifier(&self) -> &Option<String>
The keyARN
of the PEK that Amazon Web Services Payment Cryptography uses for pin data generation.
sourcepub fn encryption_key_identifier(self, input: impl Into<String>) -> Self
pub fn encryption_key_identifier(self, input: impl Into<String>) -> Self
The keyARN
of the PEK that Amazon Web Services Payment Cryptography uses to encrypt the PIN Block.
sourcepub fn set_encryption_key_identifier(self, input: Option<String>) -> Self
pub fn set_encryption_key_identifier(self, input: Option<String>) -> Self
The keyARN
of the PEK that Amazon Web Services Payment Cryptography uses to encrypt the PIN Block.
sourcepub fn get_encryption_key_identifier(&self) -> &Option<String>
pub fn get_encryption_key_identifier(&self) -> &Option<String>
The keyARN
of the PEK that Amazon Web Services Payment Cryptography uses to encrypt the PIN Block.
sourcepub fn generation_attributes(self, input: PinGenerationAttributes) -> Self
pub fn generation_attributes(self, input: PinGenerationAttributes) -> Self
The attributes and values to use for PIN, PVV, or PIN Offset generation.
This field is required.sourcepub fn set_generation_attributes(
self,
input: Option<PinGenerationAttributes>
) -> Self
pub fn set_generation_attributes( self, input: Option<PinGenerationAttributes> ) -> Self
The attributes and values to use for PIN, PVV, or PIN Offset generation.
sourcepub fn get_generation_attributes(&self) -> &Option<PinGenerationAttributes>
pub fn get_generation_attributes(&self) -> &Option<PinGenerationAttributes>
The attributes and values to use for PIN, PVV, or PIN Offset generation.
sourcepub fn pin_data_length(self, input: i32) -> Self
pub fn pin_data_length(self, input: i32) -> Self
The length of PIN under generation.
sourcepub fn set_pin_data_length(self, input: Option<i32>) -> Self
pub fn set_pin_data_length(self, input: Option<i32>) -> Self
The length of PIN under generation.
sourcepub fn get_pin_data_length(&self) -> &Option<i32>
pub fn get_pin_data_length(&self) -> &Option<i32>
The length of PIN under generation.
sourcepub fn primary_account_number(self, input: impl Into<String>) -> Self
pub fn primary_account_number(self, input: impl Into<String>) -> Self
The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
This field is required.sourcepub fn set_primary_account_number(self, input: Option<String>) -> Self
pub fn set_primary_account_number(self, input: Option<String>) -> Self
The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
sourcepub fn get_primary_account_number(&self) -> &Option<String>
pub fn get_primary_account_number(&self) -> &Option<String>
The Primary Account Number (PAN), a unique identifier for a payment credit or debit card that associates the card with a specific account holder.
sourcepub fn pin_block_format(self, input: PinBlockFormatForPinData) -> Self
pub fn pin_block_format(self, input: PinBlockFormatForPinData) -> Self
The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment Cryptography supports ISO_Format_0
and ISO_Format_3
.
The ISO_Format_0
PIN 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_3
PIN block format is the same as ISO_Format_0
except that the fill digits are random values from 10 to 15.
sourcepub fn set_pin_block_format(
self,
input: Option<PinBlockFormatForPinData>
) -> Self
pub fn set_pin_block_format( self, input: Option<PinBlockFormatForPinData> ) -> Self
The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment Cryptography supports ISO_Format_0
and ISO_Format_3
.
The ISO_Format_0
PIN 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_3
PIN block format is the same as ISO_Format_0
except that the fill digits are random values from 10 to 15.
sourcepub fn get_pin_block_format(&self) -> &Option<PinBlockFormatForPinData>
pub fn get_pin_block_format(&self) -> &Option<PinBlockFormatForPinData>
The PIN encoding format for pin data generation as specified in ISO 9564. Amazon Web Services Payment Cryptography supports ISO_Format_0
and ISO_Format_3
.
The ISO_Format_0
PIN 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_3
PIN block format is the same as ISO_Format_0
except that the fill digits are random values from 10 to 15.
sourcepub fn build(self) -> Result<GeneratePinDataInput, BuildError>
pub fn build(self) -> Result<GeneratePinDataInput, BuildError>
Consumes the builder and constructs a GeneratePinDataInput
.
source§impl GeneratePinDataInputBuilder
impl GeneratePinDataInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GeneratePinDataOutput, SdkError<GeneratePinDataError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GeneratePinDataOutput, SdkError<GeneratePinDataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GeneratePinDataInputBuilder
impl Clone for GeneratePinDataInputBuilder
source§fn clone(&self) -> GeneratePinDataInputBuilder
fn clone(&self) -> GeneratePinDataInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GeneratePinDataInputBuilder
impl Debug for GeneratePinDataInputBuilder
source§impl Default for GeneratePinDataInputBuilder
impl Default for GeneratePinDataInputBuilder
source§fn default() -> GeneratePinDataInputBuilder
fn default() -> GeneratePinDataInputBuilder
source§impl PartialEq for GeneratePinDataInputBuilder
impl PartialEq for GeneratePinDataInputBuilder
source§fn eq(&self, other: &GeneratePinDataInputBuilder) -> bool
fn eq(&self, other: &GeneratePinDataInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.