Struct aws_sdk_paymentcryptographydata::operation::verify_mac::builders::VerifyMacInputBuilder
source · #[non_exhaustive]pub struct VerifyMacInputBuilder { /* private fields */ }
Expand description
A builder for VerifyMacInput
.
Implementations§
source§impl VerifyMacInputBuilder
impl VerifyMacInputBuilder
sourcepub fn key_identifier(self, input: impl Into<String>) -> Self
pub fn key_identifier(self, input: impl Into<String>) -> Self
The keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses to verify MAC 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 encryption key that Amazon Web Services Payment Cryptography uses to verify MAC data.
sourcepub fn get_key_identifier(&self) -> &Option<String>
pub fn get_key_identifier(&self) -> &Option<String>
The keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses to verify MAC data.
sourcepub fn message_data(self, input: impl Into<String>) -> Self
pub fn message_data(self, input: impl Into<String>) -> Self
The data on for which MAC is under verification.
sourcepub fn set_message_data(self, input: Option<String>) -> Self
pub fn set_message_data(self, input: Option<String>) -> Self
The data on for which MAC is under verification.
sourcepub fn get_message_data(&self) -> &Option<String>
pub fn get_message_data(&self) -> &Option<String>
The data on for which MAC is under verification.
sourcepub fn verification_attributes(self, input: MacAttributes) -> Self
pub fn verification_attributes(self, input: MacAttributes) -> Self
The attributes and data values to use for MAC verification within Amazon Web Services Payment Cryptography.
sourcepub fn set_verification_attributes(self, input: Option<MacAttributes>) -> Self
pub fn set_verification_attributes(self, input: Option<MacAttributes>) -> Self
The attributes and data values to use for MAC verification within Amazon Web Services Payment Cryptography.
sourcepub fn get_verification_attributes(&self) -> &Option<MacAttributes>
pub fn get_verification_attributes(&self) -> &Option<MacAttributes>
The attributes and data values to use for MAC verification within Amazon Web Services Payment Cryptography.
sourcepub fn mac_length(self, input: i32) -> Self
pub fn mac_length(self, input: i32) -> Self
The length of the MAC.
sourcepub fn set_mac_length(self, input: Option<i32>) -> Self
pub fn set_mac_length(self, input: Option<i32>) -> Self
The length of the MAC.
sourcepub fn get_mac_length(&self) -> &Option<i32>
pub fn get_mac_length(&self) -> &Option<i32>
The length of the MAC.
sourcepub fn build(self) -> Result<VerifyMacInput, BuildError>
pub fn build(self) -> Result<VerifyMacInput, BuildError>
Consumes the builder and constructs a VerifyMacInput
.
source§impl VerifyMacInputBuilder
impl VerifyMacInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<VerifyMacOutput, SdkError<VerifyMacError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<VerifyMacOutput, SdkError<VerifyMacError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for VerifyMacInputBuilder
impl Clone for VerifyMacInputBuilder
source§fn clone(&self) -> VerifyMacInputBuilder
fn clone(&self) -> VerifyMacInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VerifyMacInputBuilder
impl Debug for VerifyMacInputBuilder
source§impl Default for VerifyMacInputBuilder
impl Default for VerifyMacInputBuilder
source§fn default() -> VerifyMacInputBuilder
fn default() -> VerifyMacInputBuilder
source§impl PartialEq for VerifyMacInputBuilder
impl PartialEq for VerifyMacInputBuilder
source§fn eq(&self, other: &VerifyMacInputBuilder) -> bool
fn eq(&self, other: &VerifyMacInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.