core.Map<core.String, core.dynamic> toJson() => { if (metastoreConfig != null) 'metastoreConfig': metastoreConfig!, if (sparkHistoryServerConfig != null) 'sparkHistoryServerConfig': sparkHistoryServerConfig!, };