#[non_exhaustive]pub struct WrappedKeyBuilder { /* private fields */ }
Expand description
A builder for WrappedKey
.
Implementations§
source§impl WrappedKeyBuilder
impl WrappedKeyBuilder
sourcepub fn wrapping_key_arn(self, input: impl Into<String>) -> Self
pub fn wrapping_key_arn(self, input: impl Into<String>) -> Self
The KeyARN
of the wrapped key.
sourcepub fn set_wrapping_key_arn(self, input: Option<String>) -> Self
pub fn set_wrapping_key_arn(self, input: Option<String>) -> Self
The KeyARN
of the wrapped key.
sourcepub fn get_wrapping_key_arn(&self) -> &Option<String>
pub fn get_wrapping_key_arn(&self) -> &Option<String>
The KeyARN
of the wrapped key.
sourcepub fn wrapped_key_material_format(
self,
input: WrappedKeyMaterialFormat
) -> Self
pub fn wrapped_key_material_format( self, input: WrappedKeyMaterialFormat ) -> Self
The key block format of a wrapped key.
sourcepub fn set_wrapped_key_material_format(
self,
input: Option<WrappedKeyMaterialFormat>
) -> Self
pub fn set_wrapped_key_material_format( self, input: Option<WrappedKeyMaterialFormat> ) -> Self
The key block format of a wrapped key.
sourcepub fn get_wrapped_key_material_format(
&self
) -> &Option<WrappedKeyMaterialFormat>
pub fn get_wrapped_key_material_format( &self ) -> &Option<WrappedKeyMaterialFormat>
The key block format of a wrapped key.
sourcepub fn key_material(self, input: impl Into<String>) -> Self
pub fn key_material(self, input: impl Into<String>) -> Self
Parameter information for generating a wrapped key using TR-31 or TR-34 standard.
sourcepub fn set_key_material(self, input: Option<String>) -> Self
pub fn set_key_material(self, input: Option<String>) -> Self
Parameter information for generating a wrapped key using TR-31 or TR-34 standard.
sourcepub fn get_key_material(&self) -> &Option<String>
pub fn get_key_material(&self) -> &Option<String>
Parameter information for generating a wrapped key using TR-31 or TR-34 standard.
sourcepub fn build(self) -> WrappedKey
pub fn build(self) -> WrappedKey
Consumes the builder and constructs a WrappedKey
.
Trait Implementations§
source§impl Clone for WrappedKeyBuilder
impl Clone for WrappedKeyBuilder
source§fn clone(&self) -> WrappedKeyBuilder
fn clone(&self) -> WrappedKeyBuilder
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 moresource§impl Debug for WrappedKeyBuilder
impl Debug for WrappedKeyBuilder
source§impl Default for WrappedKeyBuilder
impl Default for WrappedKeyBuilder
source§fn default() -> WrappedKeyBuilder
fn default() -> WrappedKeyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for WrappedKeyBuilder
impl PartialEq for WrappedKeyBuilder
source§fn eq(&self, other: &WrappedKeyBuilder) -> bool
fn eq(&self, other: &WrappedKeyBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WrappedKeyBuilder
Auto Trait Implementations§
impl RefUnwindSafe for WrappedKeyBuilder
impl Send for WrappedKeyBuilder
impl Sync for WrappedKeyBuilder
impl Unpin for WrappedKeyBuilder
impl UnwindSafe for WrappedKeyBuilder
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