1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StartRecovery`](crate::operation::start_recovery::builders::StartRecoveryFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`source_servers(StartRecoveryRequestSourceServer)`](crate::operation::start_recovery::builders::StartRecoveryFluentBuilder::source_servers) / [`set_source_servers(Option<Vec::<StartRecoveryRequestSourceServer>>)`](crate::operation::start_recovery::builders::StartRecoveryFluentBuilder::set_source_servers):<br>required: **true**<br><p>The Source Servers that we want to start a Recovery Job for.</p><br>
    ///   - [`is_drill(bool)`](crate::operation::start_recovery::builders::StartRecoveryFluentBuilder::is_drill) / [`set_is_drill(Option<bool>)`](crate::operation::start_recovery::builders::StartRecoveryFluentBuilder::set_is_drill):<br>required: **false**<br><p>Whether this Source Server Recovery operation is a drill or not.</p><br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::start_recovery::builders::StartRecoveryFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::start_recovery::builders::StartRecoveryFluentBuilder::set_tags):<br>required: **false**<br><p>The tags to be associated with the Recovery Job.</p><br>
    /// - On success, responds with [`StartRecoveryOutput`](crate::operation::start_recovery::StartRecoveryOutput) with field(s):
    ///   - [`job(Option<Job>)`](crate::operation::start_recovery::StartRecoveryOutput::job): <p>The Recovery Job.</p>
    /// - On failure, responds with [`SdkError<StartRecoveryError>`](crate::operation::start_recovery::StartRecoveryError)
    pub fn start_recovery(&self) -> crate::operation::start_recovery::builders::StartRecoveryFluentBuilder {
        crate::operation::start_recovery::builders::StartRecoveryFluentBuilder::new(self.handle.clone())
    }
}