You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: _edge_config.rs
    path of file: ./repos/aws-sdk-rust/sdk/kinesisvideo/src/types
    
    the code of the file until where you have to start completion: // Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.

/// <p>A description of the stream's edge configuration that will be used to sync with the Edge Agent IoT Greengrass component. The Edge Agent component will run on an IoT Hub Device setup at your premise.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct EdgeConfig {
    /// <p>The "<b>Internet of Things (IoT) Thing</b>" Arn of t
    
    pub fn build(self) -> ::std::result::Result<crate::types::EdgeConfig, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::EdgeConfig {
            hub_device_arn: self.hub_device_arn.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "hub_device_arn",
                    "hub_device_arn was not specified but it is required when building EdgeConfig",
                )
            })?,
            recorder_config: self.recorder_config,
            uploader_config: self.uploader_config,
            deletion_config: self.deletion_config,
        })
    }