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: _physical_resource_id.rs
    path of file: ./repos/aws-sdk-rust/sdk/resiliencehub/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>Defines a physical resource identifier.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct PhysicalResourceId {
    /// <p>Identifier of the physical resource.</p>
    pub identifier: ::std::string::String,
    /// <p>Specifies the type of physical resource identifier.</p>
    /// <dl>
    /// <dt>
    /// Arn
    /// </dt>
    /// <dd>
    /// <p>Th
    
    pub fn build(self) -> ::std::result::Result<crate::types::PhysicalResourceId, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::PhysicalResourceId {
            identifier: self.identifier.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "identifier",
                    "identifier was not specified but it is required when building PhysicalResourceId",
                )
            })?,
            r#type: self.r#type.ok_or_else(|| {
                ::aws_smithy_types::error::operation::BuildError::missing_field(
                    "r#type",
                    "r#type was not specified but it is required when building PhysicalResourceId",
                )
            })?,
            aws_region: self.aws_region,
            aws_account_id: self.aws_account_id,
        })
    }