public void setSecurityGroups(java.util.Collection<String> securityGroups) {
        if (securityGroups == null) {
            this.securityGroups = null;
            return;
        }

        this.securityGroups = new java.util.ArrayList<String>(securityGroups);
    }
<p>
The AWS security groups to associate with the elastic network interfaces in order to specify who can connect to
and communicate with the Amazon MSK cluster. If you don't specify a security group, Amazon MSK uses the default
security group associated with the VPC.
</p>

@param securityGroups
       <p>
       The AWS security groups to associate with the elastic network interfaces in order to specify who can
       connect to and communicate with the Amazon MSK cluster. If you don't specify a security group, Amazon MSK
       uses the default security group associated with the VPC.
       </p>
aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/BrokerNodeGroupInfo.java