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: _opensearch_configuration.rs
    path of file: ./repos/aws-sdk-rust/sdk/lexmodelsv2/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>Contains details about the configuration of the Amazon OpenSearch Service database used for the <code>AMAZON.QnAIntent</code>.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct OpensearchConfiguration {
    /// <p>The endpoint of the Amazon OpenSearch Se
    
    pub fn build(self) -> ::std::result::Result<crate::types::OpensearchConfiguration, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::OpensearchConfiguration {
            domain_endpoint: self.domain_endpoint.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "domain_endpoint",
                    "domain_endpoint was not specified but it is required when building OpensearchConfiguration",
                )
            })?,
            index_name: self.index_name.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "index_name",
                    "index_name was not specified but it is required when building OpensearchConfiguration",
                )
            })?,
            exact_response: self.exact_response.unwrap_or_default(),
            exact_response_fields: self.exact_response_fields,
            include_fields: self.include_fields,
        })
    }