public java.util.List<SecurityGroup> getSecurityGroups() {
        return securityGroups;
    }
<p>
A list of the security groups associated with the network interface. Includes the groupId and groupName.
</p>

@return A list of the security groups associated with the network interface. Includes the groupId and groupName.
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/NetworkInterface.java