1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AssociateHealthCheck`](crate::operation::associate_health_check::builders::AssociateHealthCheckFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`protection_id(impl Into<String>)`](crate::operation::associate_health_check::builders::AssociateHealthCheckFluentBuilder::protection_id) / [`set_protection_id(Option<String>)`](crate::operation::associate_health_check::builders::AssociateHealthCheckFluentBuilder::set_protection_id): <p>The unique identifier (ID) for the <code>Protection</code> object to add the health check association to. </p>
    ///   - [`health_check_arn(impl Into<String>)`](crate::operation::associate_health_check::builders::AssociateHealthCheckFluentBuilder::health_check_arn) / [`set_health_check_arn(Option<String>)`](crate::operation::associate_health_check::builders::AssociateHealthCheckFluentBuilder::set_health_check_arn): <p>The Amazon Resource Name (ARN) of the health check to associate with the protection.</p>
    /// - On success, responds with [`AssociateHealthCheckOutput`](crate::operation::associate_health_check::AssociateHealthCheckOutput)
    /// - On failure, responds with [`SdkError<AssociateHealthCheckError>`](crate::operation::associate_health_check::AssociateHealthCheckError)
    pub fn associate_health_check(&self) -> crate::operation::associate_health_check::builders::AssociateHealthCheckFluentBuilder {
        crate::operation::associate_health_check::builders::AssociateHealthCheckFluentBuilder::new(self.handle.clone())
    }
}