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 IDs of the security groups associated with the task or service.
</p>
<p>
You can provide up to five security groups.
</p>

@param securityGroups
       The IDs of the security groups associated with the task or service.</p>
       <p>
       You can provide up to five security groups.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEcsServiceNetworkConfigurationAwsVpcConfigurationDetails.java