Struct aws_sdk_paymentcryptographydata::operation::generate_card_validation_data::builders::GenerateCardValidationDataInputBuilder
source · #[non_exhaustive]pub struct GenerateCardValidationDataInputBuilder { /* private fields */ }
Expand description
A builder for GenerateCardValidationDataInput
.
Implementations§
source§impl GenerateCardValidationDataInputBuilder
impl GenerateCardValidationDataInputBuilder
sourcepub fn key_identifier(self, input: impl Into<String>) -> Self
pub fn key_identifier(self, input: impl Into<String>) -> Self
The keyARN
of the CVK encryption key that Amazon Web Services Payment Cryptography uses to generate card data.
sourcepub fn set_key_identifier(self, input: Option<String>) -> Self
pub fn set_key_identifier(self, input: Option<String>) -> Self
The keyARN
of the CVK encryption key that Amazon Web Services Payment Cryptography uses to generate card data.
sourcepub fn get_key_identifier(&self) -> &Option<String>
pub fn get_key_identifier(&self) -> &Option<String>
The keyARN
of the CVK encryption key that Amazon Web Services Payment Cryptography uses to generate card data.
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 generation_attributes(self, input: CardGenerationAttributes) -> Self
pub fn generation_attributes(self, input: CardGenerationAttributes) -> Self
The algorithm for generating CVV or CSC values for the card within Amazon Web Services Payment Cryptography.
This field is required.sourcepub fn set_generation_attributes(
self,
input: Option<CardGenerationAttributes>
) -> Self
pub fn set_generation_attributes( self, input: Option<CardGenerationAttributes> ) -> Self
The algorithm for generating CVV or CSC values for the card within Amazon Web Services Payment Cryptography.
sourcepub fn get_generation_attributes(&self) -> &Option<CardGenerationAttributes>
pub fn get_generation_attributes(&self) -> &Option<CardGenerationAttributes>
The algorithm for generating CVV or CSC values for the card within Amazon Web Services Payment Cryptography.
sourcepub fn validation_data_length(self, input: i32) -> Self
pub fn validation_data_length(self, input: i32) -> Self
The length of the CVV or CSC to be generated. The default value is 3.
sourcepub fn set_validation_data_length(self, input: Option<i32>) -> Self
pub fn set_validation_data_length(self, input: Option<i32>) -> Self
The length of the CVV or CSC to be generated. The default value is 3.
sourcepub fn get_validation_data_length(&self) -> &Option<i32>
pub fn get_validation_data_length(&self) -> &Option<i32>
The length of the CVV or CSC to be generated. The default value is 3.
sourcepub fn build(self) -> Result<GenerateCardValidationDataInput, BuildError>
pub fn build(self) -> Result<GenerateCardValidationDataInput, BuildError>
Consumes the builder and constructs a GenerateCardValidationDataInput
.
source§impl GenerateCardValidationDataInputBuilder
impl GenerateCardValidationDataInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GenerateCardValidationDataOutput, SdkError<GenerateCardValidationDataError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GenerateCardValidationDataOutput, SdkError<GenerateCardValidationDataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GenerateCardValidationDataInputBuilder
impl Clone for GenerateCardValidationDataInputBuilder
source§fn clone(&self) -> GenerateCardValidationDataInputBuilder
fn clone(&self) -> GenerateCardValidationDataInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GenerateCardValidationDataInputBuilder
impl Default for GenerateCardValidationDataInputBuilder
source§fn default() -> GenerateCardValidationDataInputBuilder
fn default() -> GenerateCardValidationDataInputBuilder
source§impl PartialEq for GenerateCardValidationDataInputBuilder
impl PartialEq for GenerateCardValidationDataInputBuilder
source§fn eq(&self, other: &GenerateCardValidationDataInputBuilder) -> bool
fn eq(&self, other: &GenerateCardValidationDataInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.