aws_sdk_workspacesweb/client/associate_data_protection_settings.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`AssociateDataProtectionSettings`](crate::operation::associate_data_protection_settings::builders::AssociateDataProtectionSettingsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`portal_arn(impl Into<String>)`](crate::operation::associate_data_protection_settings::builders::AssociateDataProtectionSettingsFluentBuilder::portal_arn) / [`set_portal_arn(Option<String>)`](crate::operation::associate_data_protection_settings::builders::AssociateDataProtectionSettingsFluentBuilder::set_portal_arn):<br>required: **true**<br><p>The ARN of the web portal.</p><br>
/// - [`data_protection_settings_arn(impl Into<String>)`](crate::operation::associate_data_protection_settings::builders::AssociateDataProtectionSettingsFluentBuilder::data_protection_settings_arn) / [`set_data_protection_settings_arn(Option<String>)`](crate::operation::associate_data_protection_settings::builders::AssociateDataProtectionSettingsFluentBuilder::set_data_protection_settings_arn):<br>required: **true**<br><p>The ARN of the data protection settings.</p><br>
/// - On success, responds with [`AssociateDataProtectionSettingsOutput`](crate::operation::associate_data_protection_settings::AssociateDataProtectionSettingsOutput) with field(s):
/// - [`portal_arn(String)`](crate::operation::associate_data_protection_settings::AssociateDataProtectionSettingsOutput::portal_arn): <p>The ARN of the web portal.</p>
/// - [`data_protection_settings_arn(String)`](crate::operation::associate_data_protection_settings::AssociateDataProtectionSettingsOutput::data_protection_settings_arn): <p>The ARN of the data protection settings resource.</p>
/// - On failure, responds with [`SdkError<AssociateDataProtectionSettingsError>`](crate::operation::associate_data_protection_settings::AssociateDataProtectionSettingsError)
pub fn associate_data_protection_settings(
&self,
) -> crate::operation::associate_data_protection_settings::builders::AssociateDataProtectionSettingsFluentBuilder {
crate::operation::associate_data_protection_settings::builders::AssociateDataProtectionSettingsFluentBuilder::new(self.handle.clone())
}
}