public ApplySecurityGroupsToLoadBalancerRequest withSecurityGroups(java.util.Collection<String> securityGroups) {
        setSecurityGroups(securityGroups);
        return this;
    }
<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>

@param securityGroups
       The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name
       of the security group.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticloadbalancing/src/main/java/com/amazonaws/services/elasticloadbalancing/model/ApplySecurityGroupsToLoadBalancerRequest.java