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.
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.
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.
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.
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<GenerateMacInputBuilder> for GenerateMacInputBuilder
impl PartialEq<GenerateMacInputBuilder> for GenerateMacInputBuilder
source§fn eq(&self, other: &GenerateMacInputBuilder) -> bool
fn eq(&self, other: &GenerateMacInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.