#[non_exhaustive]pub struct DecapsulateOutputBuilder { /* private fields */ }Expand description
A builder for DecapsulateOutput.
Implementations§
Source§impl DecapsulateOutputBuilder
impl DecapsulateOutputBuilder
Sourcepub fn key_id(self, input: impl Into<String>) -> Self
pub fn key_id(self, input: impl Into<String>) -> Self
The identifier of the ML-KEM KMS key used to decapsulate the shared secret.
Sourcepub fn set_key_id(self, input: Option<String>) -> Self
pub fn set_key_id(self, input: Option<String>) -> Self
The identifier of the ML-KEM KMS key used to decapsulate the shared secret.
Sourcepub fn get_key_id(&self) -> &Option<String>
pub fn get_key_id(&self) -> &Option<String>
The identifier of the ML-KEM KMS key used to decapsulate the shared secret.
The plaintext shared secret recovered from the encapsulated form. It is a 32-byte value that matches the shared secret held by the encapsulating party. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
The plaintext shared secret recovered from the encapsulated form. It is a 32-byte value that matches the shared secret held by the encapsulating party. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
The plaintext shared secret recovered from the encapsulated form. It is a 32-byte value that matches the shared secret held by the encapsulating party. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
Sourcepub fn encapsulation_algorithm(self, input: EncapsulationAlgorithmSpec) -> Self
pub fn encapsulation_algorithm(self, input: EncapsulationAlgorithmSpec) -> Self
The key encapsulation algorithm used to recover the shared secret.
Sourcepub fn set_encapsulation_algorithm(
self,
input: Option<EncapsulationAlgorithmSpec>,
) -> Self
pub fn set_encapsulation_algorithm( self, input: Option<EncapsulationAlgorithmSpec>, ) -> Self
The key encapsulation algorithm used to recover the shared secret.
Sourcepub fn get_encapsulation_algorithm(&self) -> &Option<EncapsulationAlgorithmSpec>
pub fn get_encapsulation_algorithm(&self) -> &Option<EncapsulationAlgorithmSpec>
The key encapsulation algorithm used to recover the shared secret.
Sourcepub fn build(self) -> DecapsulateOutput
pub fn build(self) -> DecapsulateOutput
Consumes the builder and constructs a DecapsulateOutput.
Trait Implementations§
Source§impl Clone for DecapsulateOutputBuilder
impl Clone for DecapsulateOutputBuilder
Source§fn clone(&self) -> DecapsulateOutputBuilder
fn clone(&self) -> DecapsulateOutputBuilder
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DecapsulateOutputBuilder
impl Debug for DecapsulateOutputBuilder
Source§impl Default for DecapsulateOutputBuilder
impl Default for DecapsulateOutputBuilder
Source§fn default() -> DecapsulateOutputBuilder
fn default() -> DecapsulateOutputBuilder
Source§impl PartialEq for DecapsulateOutputBuilder
impl PartialEq for DecapsulateOutputBuilder
impl StructuralPartialEq for DecapsulateOutputBuilder
Auto Trait Implementations§
impl !Freeze for DecapsulateOutputBuilder
impl RefUnwindSafe for DecapsulateOutputBuilder
impl Send for DecapsulateOutputBuilder
impl Sync for DecapsulateOutputBuilder
impl Unpin for DecapsulateOutputBuilder
impl UnsafeUnpin for DecapsulateOutputBuilder
impl UnwindSafe for DecapsulateOutputBuilder
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