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. This value must be hexBinary.
This field is required.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. This value must be hexBinary.
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. This value must be hexBinary.
sourcepub fn mac(self, input: impl Into<String>) -> Self
pub fn mac(self, input: impl Into<String>) -> Self
The MAC being verified.
This field is required.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.
This field is required.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
impl StructuralPartialEq for VerifyMacInputBuilder
Auto Trait Implementations§
impl Freeze for VerifyMacInputBuilder
impl RefUnwindSafe for VerifyMacInputBuilder
impl Send for VerifyMacInputBuilder
impl Sync for VerifyMacInputBuilder
impl Unpin for VerifyMacInputBuilder
impl UnwindSafe for VerifyMacInputBuilder
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