aws-db-esdk 1.2.4

aws-db-esdk is a library for implementing client side encryption with DynamoDB.
Documentation
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
// Do not modify this file. This file is machine generated, and any changes to it will be overwritten.
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
#[allow(missing_docs)]
pub struct HkdfOutput {
    #[allow(missing_docs)]
    pub okm: ::std::option::Option<::aws_smithy_types::Blob>,
}
impl HkdfOutput {
    #[allow(missing_docs)]
    pub fn okm(&self) -> &::std::option::Option<::aws_smithy_types::Blob> {
        &self.okm
    }
}
impl HkdfOutput {
    /// Creates a new builder-style object to manufacture [`HkdfOutput`](crate::operation::hkdf::builders::HkdfOutput).
    pub fn builder(
    ) -> crate::deps::aws_cryptography_primitives::operation::hkdf::builders::HkdfOutputBuilder
    {
        crate::deps::aws_cryptography_primitives::operation::hkdf::builders::HkdfOutputBuilder::default()
    }
}

/// A builder for [`HkdfOutput`](crate::operation::operation::HkdfOutput).
#[non_exhaustive]
#[derive(
    ::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug,
)]
pub struct HkdfOutputBuilder {
    pub(crate) okm: ::std::option::Option<::aws_smithy_types::Blob>,
}
impl HkdfOutputBuilder {
    #[allow(missing_docs)]
    pub fn okm(mut self, input: impl ::std::convert::Into<::aws_smithy_types::Blob>) -> Self {
        self.okm = ::std::option::Option::Some(input.into());
        self
    }
    #[allow(missing_docs)]
    pub fn set_okm(mut self, input: ::std::option::Option<::aws_smithy_types::Blob>) -> Self {
        self.okm = input;
        self
    }
    #[allow(missing_docs)]
    pub fn get_okm(&self) -> &::std::option::Option<::aws_smithy_types::Blob> {
        &self.okm
    }
    /// Consumes the builder and constructs a [`HkdfOutput`](crate::operation::operation::HkdfOutput).
    pub fn build(
        self,
    ) -> ::std::result::Result<
        crate::deps::aws_cryptography_primitives::operation::hkdf::HkdfOutput,
        ::aws_smithy_types::error::operation::BuildError,
    > {
        ::std::result::Result::Ok(
            crate::deps::aws_cryptography_primitives::operation::hkdf::HkdfOutput { okm: self.okm },
        )
    }
}