// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`SetTerminationProtection`](crate::operation::set_termination_protection::builders::SetTerminationProtectionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`job_flow_ids(impl Into<String>)`](crate::operation::set_termination_protection::builders::SetTerminationProtectionFluentBuilder::job_flow_ids) / [`set_job_flow_ids(Option<Vec::<String>>)`](crate::operation::set_termination_protection::builders::SetTerminationProtectionFluentBuilder::set_job_flow_ids):<br>required: **true**<br><p>A list of strings that uniquely identify the clusters to protect. This identifier is returned by <code>RunJobFlow</code> and can also be obtained from <code>DescribeJobFlows</code> .</p><br>
/// - [`termination_protected(bool)`](crate::operation::set_termination_protection::builders::SetTerminationProtectionFluentBuilder::termination_protected) / [`set_termination_protected(Option<bool>)`](crate::operation::set_termination_protection::builders::SetTerminationProtectionFluentBuilder::set_termination_protected):<br>required: **true**<br><p>A Boolean that indicates whether to protect the cluster and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error.</p><br>
/// - On success, responds with [`SetTerminationProtectionOutput`](crate::operation::set_termination_protection::SetTerminationProtectionOutput)
/// - On failure, responds with [`SdkError<SetTerminationProtectionError>`](crate::operation::set_termination_protection::SetTerminationProtectionError)
pub fn set_termination_protection(&self) -> crate::operation::set_termination_protection::builders::SetTerminationProtectionFluentBuilder {
crate::operation::set_termination_protection::builders::SetTerminationProtectionFluentBuilder::new(self.handle.clone())
}
}