Struct aws_sdk_paymentcryptographydata::operation::verify_card_validation_data::builders::VerifyCardValidationDataInputBuilder
source · #[non_exhaustive]pub struct VerifyCardValidationDataInputBuilder { /* private fields */ }
Expand description
A builder for VerifyCardValidationDataInput
.
Implementations§
source§impl VerifyCardValidationDataInputBuilder
impl VerifyCardValidationDataInputBuilder
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 verify 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 verify 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 verify 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 verification_attributes(self, input: CardVerificationAttributes) -> Self
pub fn verification_attributes(self, input: CardVerificationAttributes) -> Self
The algorithm to use for verification of card data within Amazon Web Services Payment Cryptography.
This field is required.sourcepub fn set_verification_attributes(
self,
input: Option<CardVerificationAttributes>,
) -> Self
pub fn set_verification_attributes( self, input: Option<CardVerificationAttributes>, ) -> Self
The algorithm to use for verification of card data within Amazon Web Services Payment Cryptography.
sourcepub fn get_verification_attributes(&self) -> &Option<CardVerificationAttributes>
pub fn get_verification_attributes(&self) -> &Option<CardVerificationAttributes>
The algorithm to use for verification of card data within Amazon Web Services Payment Cryptography.
sourcepub fn validation_data(self, input: impl Into<String>) -> Self
pub fn validation_data(self, input: impl Into<String>) -> Self
The CVV or CSC value for use for card data verification within Amazon Web Services Payment Cryptography.
This field is required.sourcepub fn set_validation_data(self, input: Option<String>) -> Self
pub fn set_validation_data(self, input: Option<String>) -> Self
The CVV or CSC value for use for card data verification within Amazon Web Services Payment Cryptography.
sourcepub fn get_validation_data(&self) -> &Option<String>
pub fn get_validation_data(&self) -> &Option<String>
The CVV or CSC value for use for card data verification within Amazon Web Services Payment Cryptography.
sourcepub fn build(self) -> Result<VerifyCardValidationDataInput, BuildError>
pub fn build(self) -> Result<VerifyCardValidationDataInput, BuildError>
Consumes the builder and constructs a VerifyCardValidationDataInput
.
source§impl VerifyCardValidationDataInputBuilder
impl VerifyCardValidationDataInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<VerifyCardValidationDataOutput, SdkError<VerifyCardValidationDataError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<VerifyCardValidationDataOutput, SdkError<VerifyCardValidationDataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for VerifyCardValidationDataInputBuilder
impl Clone for VerifyCardValidationDataInputBuilder
source§fn clone(&self) -> VerifyCardValidationDataInputBuilder
fn clone(&self) -> VerifyCardValidationDataInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for VerifyCardValidationDataInputBuilder
impl Default for VerifyCardValidationDataInputBuilder
source§fn default() -> VerifyCardValidationDataInputBuilder
fn default() -> VerifyCardValidationDataInputBuilder
source§impl PartialEq for VerifyCardValidationDataInputBuilder
impl PartialEq for VerifyCardValidationDataInputBuilder
source§fn eq(&self, other: &VerifyCardValidationDataInputBuilder) -> bool
fn eq(&self, other: &VerifyCardValidationDataInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for VerifyCardValidationDataInputBuilder
Auto Trait Implementations§
impl Freeze for VerifyCardValidationDataInputBuilder
impl RefUnwindSafe for VerifyCardValidationDataInputBuilder
impl Send for VerifyCardValidationDataInputBuilder
impl Sync for VerifyCardValidationDataInputBuilder
impl Unpin for VerifyCardValidationDataInputBuilder
impl UnwindSafe for VerifyCardValidationDataInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more