/** * The security groups to associate with the instances. * * <p>Returns a reference to this object so that method calls can be chained together. * * @param securityGroups * <p>The security groups to associate with the instances. * @return A reference to this updated object so that method calls can be chained together. */ public LaunchConfiguration withSecurityGroups(java.util.Collection<String> securityGroups) { setSecurityGroups(securityGroups); return this; }