// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ApplySecurityGroupsToLoadBalancer`](crate::operation::apply_security_groups_to_load_balancer::builders::ApplySecurityGroupsToLoadBalancerFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`load_balancer_name(impl Into<String>)`](crate::operation::apply_security_groups_to_load_balancer::builders::ApplySecurityGroupsToLoadBalancerFluentBuilder::load_balancer_name) / [`set_load_balancer_name(Option<String>)`](crate::operation::apply_security_groups_to_load_balancer::builders::ApplySecurityGroupsToLoadBalancerFluentBuilder::set_load_balancer_name):<br>required: **true**<br><p>The name of the load balancer.</p><br>
/// - [`security_groups(impl Into<String>)`](crate::operation::apply_security_groups_to_load_balancer::builders::ApplySecurityGroupsToLoadBalancerFluentBuilder::security_groups) / [`set_security_groups(Option<Vec::<String>>)`](crate::operation::apply_security_groups_to_load_balancer::builders::ApplySecurityGroupsToLoadBalancerFluentBuilder::set_security_groups):<br>required: **true**<br><p>The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group.</p><br>
/// - On success, responds with [`ApplySecurityGroupsToLoadBalancerOutput`](crate::operation::apply_security_groups_to_load_balancer::ApplySecurityGroupsToLoadBalancerOutput) with field(s):
/// - [`security_groups(Option<Vec::<String>>)`](crate::operation::apply_security_groups_to_load_balancer::ApplySecurityGroupsToLoadBalancerOutput::security_groups): <p>The IDs of the security groups associated with the load balancer.</p>
/// - On failure, responds with [`SdkError<ApplySecurityGroupsToLoadBalancerError>`](crate::operation::apply_security_groups_to_load_balancer::ApplySecurityGroupsToLoadBalancerError)
pub fn apply_security_groups_to_load_balancer(
&self,
) -> crate::operation::apply_security_groups_to_load_balancer::builders::ApplySecurityGroupsToLoadBalancerFluentBuilder {
crate::operation::apply_security_groups_to_load_balancer::builders::ApplySecurityGroupsToLoadBalancerFluentBuilder::new(self.handle.clone())
}
}