Struct aws_sdk_paymentcryptographydata::operation::generate_card_validation_data::builders::GenerateCardValidationDataOutputBuilder
source · #[non_exhaustive]pub struct GenerateCardValidationDataOutputBuilder { /* private fields */ }
Expand description
A builder for GenerateCardValidationDataOutput
.
Implementations§
source§impl GenerateCardValidationDataOutputBuilder
impl GenerateCardValidationDataOutputBuilder
sourcepub fn key_arn(self, input: impl Into<String>) -> Self
pub fn key_arn(self, input: impl Into<String>) -> Self
The keyARN
of the CVK encryption key that Amazon Web Services Payment Cryptography uses to generate CVV or CSC.
sourcepub fn set_key_arn(self, input: Option<String>) -> Self
pub fn set_key_arn(self, input: Option<String>) -> Self
The keyARN
of the CVK encryption key that Amazon Web Services Payment Cryptography uses to generate CVV or CSC.
sourcepub fn get_key_arn(&self) -> &Option<String>
pub fn get_key_arn(&self) -> &Option<String>
The keyARN
of the CVK encryption key that Amazon Web Services Payment Cryptography uses to generate CVV or CSC.
sourcepub fn key_check_value(self, input: impl Into<String>) -> Self
pub fn key_check_value(self, input: impl Into<String>) -> Self
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.
This field is required.sourcepub fn set_key_check_value(self, input: Option<String>) -> Self
pub fn set_key_check_value(self, input: Option<String>) -> Self
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.
sourcepub fn get_key_check_value(&self) -> &Option<String>
pub fn get_key_check_value(&self) -> &Option<String>
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.
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 that Amazon Web Services Payment Cryptography generates for the card.
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 that Amazon Web Services Payment Cryptography generates for the card.
sourcepub fn get_validation_data(&self) -> &Option<String>
pub fn get_validation_data(&self) -> &Option<String>
The CVV or CSC value that Amazon Web Services Payment Cryptography generates for the card.
sourcepub fn build(self) -> Result<GenerateCardValidationDataOutput, BuildError>
pub fn build(self) -> Result<GenerateCardValidationDataOutput, BuildError>
Consumes the builder and constructs a GenerateCardValidationDataOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for GenerateCardValidationDataOutputBuilder
impl Clone for GenerateCardValidationDataOutputBuilder
source§fn clone(&self) -> GenerateCardValidationDataOutputBuilder
fn clone(&self) -> GenerateCardValidationDataOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GenerateCardValidationDataOutputBuilder
impl Default for GenerateCardValidationDataOutputBuilder
source§fn default() -> GenerateCardValidationDataOutputBuilder
fn default() -> GenerateCardValidationDataOutputBuilder
source§impl PartialEq for GenerateCardValidationDataOutputBuilder
impl PartialEq for GenerateCardValidationDataOutputBuilder
source§fn eq(&self, other: &GenerateCardValidationDataOutputBuilder) -> bool
fn eq(&self, other: &GenerateCardValidationDataOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.