Struct aws_sdk_paymentcryptographydata::operation::generate_mac::builders::GenerateMacInputBuilder
source · #[non_exhaustive]pub struct GenerateMacInputBuilder { /* private fields */ }
Expand description
A builder for GenerateMacInput
.
Implementations§
source§impl GenerateMacInputBuilder
impl GenerateMacInputBuilder
sourcepub fn key_identifier(self, input: impl Into<String>) -> Self
pub fn key_identifier(self, input: impl Into<String>) -> Self
The keyARN
of the MAC generation encryption key.
sourcepub fn set_key_identifier(self, input: Option<String>) -> Self
pub fn set_key_identifier(self, input: Option<String>) -> Self
The keyARN
of the MAC generation encryption key.
sourcepub fn get_key_identifier(&self) -> &Option<String>
pub fn get_key_identifier(&self) -> &Option<String>
The keyARN
of the MAC generation encryption key.
sourcepub fn message_data(self, input: impl Into<String>) -> Self
pub fn message_data(self, input: impl Into<String>) -> Self
The data for which a MAC is under generation. 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 for which a MAC is under generation. This value must be hexBinary.
sourcepub fn get_message_data(&self) -> &Option<String>
pub fn get_message_data(&self) -> &Option<String>
The data for which a MAC is under generation. This value must be hexBinary.
sourcepub fn generation_attributes(self, input: MacAttributes) -> Self
pub fn generation_attributes(self, input: MacAttributes) -> Self
The attributes and data values to use for MAC generation within Amazon Web Services Payment Cryptography.
This field is required.sourcepub fn set_generation_attributes(self, input: Option<MacAttributes>) -> Self
pub fn set_generation_attributes(self, input: Option<MacAttributes>) -> Self
The attributes and data values to use for MAC generation within Amazon Web Services Payment Cryptography.
sourcepub fn get_generation_attributes(&self) -> &Option<MacAttributes>
pub fn get_generation_attributes(&self) -> &Option<MacAttributes>
The attributes and data values to use for MAC generation 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 a MAC under generation.
sourcepub fn set_mac_length(self, input: Option<i32>) -> Self
pub fn set_mac_length(self, input: Option<i32>) -> Self
The length of a MAC under generation.
sourcepub fn get_mac_length(&self) -> &Option<i32>
pub fn get_mac_length(&self) -> &Option<i32>
The length of a MAC under generation.
sourcepub fn build(self) -> Result<GenerateMacInput, BuildError>
pub fn build(self) -> Result<GenerateMacInput, BuildError>
Consumes the builder and constructs a GenerateMacInput
.
source§impl GenerateMacInputBuilder
impl GenerateMacInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<GenerateMacOutput, SdkError<GenerateMacError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<GenerateMacOutput, SdkError<GenerateMacError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GenerateMacInputBuilder
impl Clone for GenerateMacInputBuilder
source§fn clone(&self) -> GenerateMacInputBuilder
fn clone(&self) -> GenerateMacInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GenerateMacInputBuilder
impl Debug for GenerateMacInputBuilder
source§impl Default for GenerateMacInputBuilder
impl Default for GenerateMacInputBuilder
source§fn default() -> GenerateMacInputBuilder
fn default() -> GenerateMacInputBuilder
source§impl PartialEq for GenerateMacInputBuilder
impl PartialEq for GenerateMacInputBuilder
impl StructuralPartialEq for GenerateMacInputBuilder
Auto Trait Implementations§
impl Freeze for GenerateMacInputBuilder
impl RefUnwindSafe for GenerateMacInputBuilder
impl Send for GenerateMacInputBuilder
impl Sync for GenerateMacInputBuilder
impl Unpin for GenerateMacInputBuilder
impl UnwindSafe for GenerateMacInputBuilder
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