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: _health_check_config.rs
    path of file: ./repos/aws-sdk-rust/sdk/route53/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 complex type that contains information about the health check.</p>
#[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct HealthCheckConfig {
    /// <p>The IPv4 or IPv6 IP address of the endpoint that you want Amazon Route 53 to perform health checks on. If you don't specify a value for <code>IPAddress</code>, Route 53 sends a DNS request to resolve the domain name that you specify in <code>FullyQualifiedDomainName</code> at the interval that you specify in <code>RequestInterval</code>. Using an IP address returned by DNS, Route 53 then checks the health of the endpoint.</p>
    /// <p>Use one of the following formats for the value of <code>IPAddress</code>:</p>
    /// <ul>
    /// <li>
    /// <p><b>IPv4 address</b>: four values between 0 an
    
    pub fn build(self) -> ::std::result::Result<crate::types::HealthCheckConfig, ::aws_smithy_types::error::operation::BuildError> {
        ::std::result::Result::Ok(crate::types::HealthCheckConfig {
            ip_address: self.ip_address,
            port: self.port,
            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 HealthCheckConfig",
                )
            })?,
            resource_path: self.resource_path,
            fully_qualified_domain_name: self.fully_qualified_domain_name,
            search_string: self.search_string,
            request_interval: self.request_interval,
            failure_threshold: self.failure_threshold,
            measure_latency: self.measure_latency,
            inverted: self.inverted,
            disabled: self.disabled,
            health_threshold: self.health_threshold,
            child_health_checks: self.child_health_checks,
            enable_sni: self.enable_sni,
            regions: self.regions,
            alarm_identifier: self.alarm_identifier,
            insufficient_data_health_status: self.insufficient_data_health_status,
            routing_control_arn: self.routing_control_arn,
        })
    }