pub struct GenerateHmacRequestBuilder { /* private fields */ }
Expand description
Builder for GenerateHmacRequest
.
Implementations§
source§impl GenerateHmacRequestBuilder
impl GenerateHmacRequestBuilder
pub fn mount<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
sourcepub fn key_version<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
pub fn key_version<VALUE: Into<u64>>(&mut self, value: VALUE) -> &mut Self
Specifies the version of the key to use for the operation. If not set, uses the latest version. Must be greater than or equal to the key’s min_encryption_version, if set.
sourcepub fn algorithm<VALUE: Into<HashAlgorithm>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn algorithm<VALUE: Into<HashAlgorithm>>( &mut self, value: VALUE, ) -> &mut Self
Specifies the hash algorithm to use.
sourcepub fn input<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn input<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Specifies the base64 encoded input data.
sourcepub fn build(
&self,
) -> Result<GenerateHmacRequest, GenerateHmacRequestBuilderError>
pub fn build( &self, ) -> Result<GenerateHmacRequest, GenerateHmacRequestBuilderError>
Trait Implementations§
source§impl Clone for GenerateHmacRequestBuilder
impl Clone for GenerateHmacRequestBuilder
source§fn clone(&self) -> GenerateHmacRequestBuilder
fn clone(&self) -> GenerateHmacRequestBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for GenerateHmacRequestBuilder
impl RefUnwindSafe for GenerateHmacRequestBuilder
impl Send for GenerateHmacRequestBuilder
impl Sync for GenerateHmacRequestBuilder
impl Unpin for GenerateHmacRequestBuilder
impl UnwindSafe for GenerateHmacRequestBuilder
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)