// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`RestoreBranch`](crate::operation::restore_branch::builders::RestoreBranchFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`branch_arn(impl Into<String>)`](crate::operation::restore_branch::builders::RestoreBranchFluentBuilder::branch_arn) / [`set_branch_arn(Option<String>)`](crate::operation::restore_branch::builders::RestoreBranchFluentBuilder::set_branch_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the production branch of the Production environment. Other branches can't be restored.</p><br>
/// - [`restore_to_time(DateTime)`](crate::operation::restore_branch::builders::RestoreBranchFluentBuilder::restore_to_time) / [`set_restore_to_time(Option<DateTime>)`](crate::operation::restore_branch::builders::RestoreBranchFluentBuilder::set_restore_to_time):<br>required: **true**<br><p>The point in time to restore the production branch to. The time must be within the window that GetRestoreWindow returns and can't be in the future. Fractions of a second are ignored.</p><br>
/// - On success, responds with [`RestoreBranchOutput`](crate::operation::restore_branch::RestoreBranchOutput) with field(s):
/// - [`branch_arn(String)`](crate::operation::restore_branch::RestoreBranchOutput::branch_arn): <p>The Amazon Resource Name (ARN) of the new branch that contains the restored data.</p>
/// - On failure, responds with [`SdkError<RestoreBranchError>`](crate::operation::restore_branch::RestoreBranchError)
pub fn restore_branch(&self) -> crate::operation::restore_branch::builders::RestoreBranchFluentBuilder {
crate::operation::restore_branch::builders::RestoreBranchFluentBuilder::new(self.handle.clone())
}
}