public VpcConfig withSecurityGroups(java.util.Collection<SecurityGroup> securityGroups) {
        setSecurityGroups(securityGroups);
        return this;
    }
<p>
The identifier of the security group attached to the Lambda function.
</p>

@param securityGroups
       The identifier of the security group attached to the Lambda function.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/VpcConfig.java