#[non_exhaustive]pub struct GenerateMacOutputBuilder { /* private fields */ }
Expand description
A builder for GenerateMacOutput
.
Implementations§
source§impl GenerateMacOutputBuilder
impl GenerateMacOutputBuilder
sourcepub fn mac(self, input: Blob) -> Self
pub fn mac(self, input: Blob) -> Self
The hash-based message authentication code (HMAC) that was generated for the specified message, HMAC KMS key, and MAC algorithm.
This is the standard, raw HMAC defined in RFC 2104.
sourcepub fn set_mac(self, input: Option<Blob>) -> Self
pub fn set_mac(self, input: Option<Blob>) -> Self
The hash-based message authentication code (HMAC) that was generated for the specified message, HMAC KMS key, and MAC algorithm.
This is the standard, raw HMAC defined in RFC 2104.
sourcepub fn get_mac(&self) -> &Option<Blob>
pub fn get_mac(&self) -> &Option<Blob>
The hash-based message authentication code (HMAC) that was generated for the specified message, HMAC KMS key, and MAC algorithm.
This is the standard, raw HMAC defined in RFC 2104.
sourcepub fn mac_algorithm(self, input: MacAlgorithmSpec) -> Self
pub fn mac_algorithm(self, input: MacAlgorithmSpec) -> Self
The MAC algorithm that was used to generate the HMAC.
sourcepub fn set_mac_algorithm(self, input: Option<MacAlgorithmSpec>) -> Self
pub fn set_mac_algorithm(self, input: Option<MacAlgorithmSpec>) -> Self
The MAC algorithm that was used to generate the HMAC.
sourcepub fn get_mac_algorithm(&self) -> &Option<MacAlgorithmSpec>
pub fn get_mac_algorithm(&self) -> &Option<MacAlgorithmSpec>
The MAC algorithm that was used to generate the HMAC.
sourcepub fn set_key_id(self, input: Option<String>) -> Self
pub fn set_key_id(self, input: Option<String>) -> Self
The HMAC KMS key used in the operation.
sourcepub fn get_key_id(&self) -> &Option<String>
pub fn get_key_id(&self) -> &Option<String>
The HMAC KMS key used in the operation.
sourcepub fn build(self) -> GenerateMacOutput
pub fn build(self) -> GenerateMacOutput
Consumes the builder and constructs a GenerateMacOutput
.
Trait Implementations§
source§impl Clone for GenerateMacOutputBuilder
impl Clone for GenerateMacOutputBuilder
source§fn clone(&self) -> GenerateMacOutputBuilder
fn clone(&self) -> GenerateMacOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GenerateMacOutputBuilder
impl Debug for GenerateMacOutputBuilder
source§impl Default for GenerateMacOutputBuilder
impl Default for GenerateMacOutputBuilder
source§fn default() -> GenerateMacOutputBuilder
fn default() -> GenerateMacOutputBuilder
source§impl PartialEq for GenerateMacOutputBuilder
impl PartialEq for GenerateMacOutputBuilder
source§fn eq(&self, other: &GenerateMacOutputBuilder) -> bool
fn eq(&self, other: &GenerateMacOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.