#[non_exhaustive]pub struct CreateMultiKeyringInputBuilder { /* private fields */ }
Expand description
A builder for CreateMultiKeyringInput
.
Implementations§
Source§impl CreateMultiKeyringInputBuilder
impl CreateMultiKeyringInputBuilder
Sourcepub fn child_keyrings(self, input: impl Into<Vec<KeyringRef>>) -> Self
pub fn child_keyrings(self, input: impl Into<Vec<KeyringRef>>) -> Self
A list of keyrings (other than the generator) responsible for wrapping and unwrapping the data key.
Sourcepub fn set_child_keyrings(self, input: Option<Vec<KeyringRef>>) -> Self
pub fn set_child_keyrings(self, input: Option<Vec<KeyringRef>>) -> Self
A list of keyrings (other than the generator) responsible for wrapping and unwrapping the data key.
Sourcepub fn get_child_keyrings(&self) -> &Option<Vec<KeyringRef>>
pub fn get_child_keyrings(&self) -> &Option<Vec<KeyringRef>>
A list of keyrings (other than the generator) responsible for wrapping and unwrapping the data key.
Sourcepub fn generator(self, input: impl Into<KeyringRef>) -> Self
pub fn generator(self, input: impl Into<KeyringRef>) -> Self
A keyring responsible for wrapping and unwrapping the data key. This is the first keyring that will be used to wrap the data key, and may be responsible for additionally generating the data key.
Sourcepub fn set_generator(self, input: Option<KeyringRef>) -> Self
pub fn set_generator(self, input: Option<KeyringRef>) -> Self
A keyring responsible for wrapping and unwrapping the data key. This is the first keyring that will be used to wrap the data key, and may be responsible for additionally generating the data key.
Sourcepub fn get_generator(&self) -> &Option<KeyringRef>
pub fn get_generator(&self) -> &Option<KeyringRef>
A keyring responsible for wrapping and unwrapping the data key. This is the first keyring that will be used to wrap the data key, and may be responsible for additionally generating the data key.
Sourcepub fn build(self) -> Result<CreateMultiKeyringInput, BuildError>
pub fn build(self) -> Result<CreateMultiKeyringInput, BuildError>
Consumes the builder and constructs a CreateMultiKeyringInput
.
Trait Implementations§
Source§impl Clone for CreateMultiKeyringInputBuilder
impl Clone for CreateMultiKeyringInputBuilder
Source§fn clone(&self) -> CreateMultiKeyringInputBuilder
fn clone(&self) -> CreateMultiKeyringInputBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for CreateMultiKeyringInputBuilder
impl Default for CreateMultiKeyringInputBuilder
Source§fn default() -> CreateMultiKeyringInputBuilder
fn default() -> CreateMultiKeyringInputBuilder
Source§impl PartialEq for CreateMultiKeyringInputBuilder
impl PartialEq for CreateMultiKeyringInputBuilder
Source§fn eq(&self, other: &CreateMultiKeyringInputBuilder) -> bool
fn eq(&self, other: &CreateMultiKeyringInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateMultiKeyringInputBuilder
Auto Trait Implementations§
impl Freeze for CreateMultiKeyringInputBuilder
impl RefUnwindSafe for CreateMultiKeyringInputBuilder
impl Send for CreateMultiKeyringInputBuilder
impl Sync for CreateMultiKeyringInputBuilder
impl Unpin for CreateMultiKeyringInputBuilder
impl UnwindSafe for CreateMultiKeyringInputBuilder
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