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: _ebs_tag_specification.rs
    path of file: ./repos/aws-sdk-rust/sdk/ecs/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 tag specifications of an Amazon EBS volume.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct EbsTagSpecification {
    /// <p>The type of volume resource.</p>
    pub resource_type: crate::types::EbsResourceType,
    /// <p>The tags applied to this Amazon EBS volume. <code>AmazonECSCreated</code> and <code>AmazonECSManaged</code> are reserve
    
    pub fn build(self) -> ::std::result::Result<crate::types::EbsTagSpecification, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::EbsTagSpecification {
            resource_type: self.resource_type.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "resource_type",
                    "resource_type was not specified but it is required when building EbsTagSpecification",
                )
            })?,
            tags: self.tags,
            propagate_tags: self.propagate_tags,
        })
    }