#[non_exhaustive]pub struct CreateKeyInputBuilder { /* private fields */ }
Expand description
A builder for CreateKeyInput
.
Implementations§
Source§impl CreateKeyInputBuilder
impl CreateKeyInputBuilder
Sourcepub fn branch_key_identifier(self, input: impl Into<String>) -> Self
pub fn branch_key_identifier(self, input: impl Into<String>) -> Self
The identifier for the created Branch Key.
Sourcepub fn set_branch_key_identifier(self, input: Option<String>) -> Self
pub fn set_branch_key_identifier(self, input: Option<String>) -> Self
The identifier for the created Branch Key.
Sourcepub fn get_branch_key_identifier(&self) -> &Option<String>
pub fn get_branch_key_identifier(&self) -> &Option<String>
The identifier for the created Branch Key.
Sourcepub fn encryption_context(
self,
input: impl Into<HashMap<String, String>>,
) -> Self
pub fn encryption_context( self, input: impl Into<HashMap<String, String>>, ) -> Self
Custom encryption context for the Branch Key. Required if branchKeyIdentifier is set.
Sourcepub fn set_encryption_context(
self,
input: Option<HashMap<String, String>>,
) -> Self
pub fn set_encryption_context( self, input: Option<HashMap<String, String>>, ) -> Self
Custom encryption context for the Branch Key. Required if branchKeyIdentifier is set.
Sourcepub fn get_encryption_context(&self) -> &Option<HashMap<String, String>>
pub fn get_encryption_context(&self) -> &Option<HashMap<String, String>>
Custom encryption context for the Branch Key. Required if branchKeyIdentifier is set.
Sourcepub fn build(self) -> Result<CreateKeyInput, BuildError>
pub fn build(self) -> Result<CreateKeyInput, BuildError>
Consumes the builder and constructs a CreateKeyInput
.
Trait Implementations§
Source§impl Clone for CreateKeyInputBuilder
impl Clone for CreateKeyInputBuilder
Source§fn clone(&self) -> CreateKeyInputBuilder
fn clone(&self) -> CreateKeyInputBuilder
Returns a duplicate 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 CreateKeyInputBuilder
impl Debug for CreateKeyInputBuilder
Source§impl Default for CreateKeyInputBuilder
impl Default for CreateKeyInputBuilder
Source§fn default() -> CreateKeyInputBuilder
fn default() -> CreateKeyInputBuilder
Returns the “default value” for a type. Read more
Source§impl PartialEq for CreateKeyInputBuilder
impl PartialEq for CreateKeyInputBuilder
impl StructuralPartialEq for CreateKeyInputBuilder
Auto Trait Implementations§
impl Freeze for CreateKeyInputBuilder
impl RefUnwindSafe for CreateKeyInputBuilder
impl Send for CreateKeyInputBuilder
impl Sync for CreateKeyInputBuilder
impl Unpin for CreateKeyInputBuilder
impl UnwindSafe for CreateKeyInputBuilder
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§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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.