public java.util.List<String> getSecurityGroups() {
        return 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>

@return <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