// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetLegalHold`](crate::operation::get_legal_hold::builders::GetLegalHoldFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`legal_hold_id(impl Into<String>)`](crate::operation::get_legal_hold::builders::GetLegalHoldFluentBuilder::legal_hold_id) / [`set_legal_hold_id(Option<String>)`](crate::operation::get_legal_hold::builders::GetLegalHoldFluentBuilder::set_legal_hold_id):<br>required: **true**<br><p>This is the ID required to use <code>GetLegalHold</code>. This unique ID is associated with a specific legal hold.</p><br>
/// - On success, responds with [`GetLegalHoldOutput`](crate::operation::get_legal_hold::GetLegalHoldOutput) with field(s):
/// - [`title(Option<String>)`](crate::operation::get_legal_hold::GetLegalHoldOutput::title): <p>This is the string title of the legal hold.</p>
/// - [`status(Option<LegalHoldStatus>)`](crate::operation::get_legal_hold::GetLegalHoldOutput::status): <p>This is the status of the legal hold. Statuses can be <code>ACTIVE</code>, <code>CREATING</code>, <code>CANCELED</code>, and <code>CANCELING</code>.</p>
/// - [`description(Option<String>)`](crate::operation::get_legal_hold::GetLegalHoldOutput::description): <p>This is the returned string description of the legal hold.</p>
/// - [`cancel_description(Option<String>)`](crate::operation::get_legal_hold::GetLegalHoldOutput::cancel_description): <p>String describing the reason for removing the legal hold.</p>
/// - [`legal_hold_id(Option<String>)`](crate::operation::get_legal_hold::GetLegalHoldOutput::legal_hold_id): <p>This is the returned ID associated with a specified legal hold.</p>
/// - [`legal_hold_arn(Option<String>)`](crate::operation::get_legal_hold::GetLegalHoldOutput::legal_hold_arn): <p>This is the returned framework ARN for the specified legal hold. An Amazon Resource Name (ARN) uniquely identifies a resource. The format of the ARN depends on the resource type.</p>
/// - [`creation_date(Option<DateTime>)`](crate::operation::get_legal_hold::GetLegalHoldOutput::creation_date): <p>Time in number format when legal hold was created.</p>
/// - [`cancellation_date(Option<DateTime>)`](crate::operation::get_legal_hold::GetLegalHoldOutput::cancellation_date): <p>Time in number when legal hold was cancelled.</p>
/// - [`retain_record_until(Option<DateTime>)`](crate::operation::get_legal_hold::GetLegalHoldOutput::retain_record_until): <p>This is the date and time until which the legal hold record will be retained.</p>
/// - [`recovery_point_selection(Option<RecoveryPointSelection>)`](crate::operation::get_legal_hold::GetLegalHoldOutput::recovery_point_selection): <p>This specifies criteria to assign a set of resources, such as resource types or backup vaults.</p>
/// - On failure, responds with [`SdkError<GetLegalHoldError>`](crate::operation::get_legal_hold::GetLegalHoldError)
pub fn get_legal_hold(&self) -> crate::operation::get_legal_hold::builders::GetLegalHoldFluentBuilder {
crate::operation::get_legal_hold::builders::GetLegalHoldFluentBuilder::new(self.handle.clone())
}
}