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: _kx_dataview_segment_configuration.rs
    path of file: ./repos/aws-sdk-rust/sdk/finspace/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>The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct KxDataviewSegmentConfiguration {
    /// <p>The database path of the data that you want to place on each selected volume for the segment. Each segment must have a un
    
    pub fn build(self) -> ::std::result::Result<crate::types::KxDataviewSegmentConfiguration, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::KxDataviewSegmentConfiguration {
            db_paths: self.db_paths.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "db_paths",
                    "db_paths was not specified but it is required when building KxDataviewSegmentConfiguration",
                )
            })?,
            volume_name: self.volume_name.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "volume_name",
                    "volume_name was not specified but it is required when building KxDataviewSegmentConfiguration",
                )
            })?,
        })
    }