#[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
impl StructuralPartialEq for GenerateMacOutputBuilder
Auto Trait Implementations§
impl Freeze for GenerateMacOutputBuilder
impl RefUnwindSafe for GenerateMacOutputBuilder
impl Send for GenerateMacOutputBuilder
impl Sync for GenerateMacOutputBuilder
impl Unpin for GenerateMacOutputBuilder
impl UnwindSafe for GenerateMacOutputBuilder
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§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