public CreateVpcConnectionResult withSecurityGroups(java.util.Collection<String> securityGroups) {
        setSecurityGroups(securityGroups);
        return this;
    }
<p>
The list of security groups.
</p>

@param securityGroups
       <p>
       The list of security groups.
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/CreateVpcConnectionResult.java