BatchEnvironmentConfigPeripheralsConfig.fromMap constructor

BatchEnvironmentConfigPeripheralsConfig.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory BatchEnvironmentConfigPeripheralsConfig.fromMap(Map<String, dynamic> map) {
  return BatchEnvironmentConfigPeripheralsConfig(
    metastoreService: (() { final guardedValue = map['metastoreService']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    sparkHistoryServerConfig: (() { final guardedValue = map['sparkHistoryServerConfig']; if (guardedValue == null) return null; return pulumi.Input.fromValue(BatchEnvironmentConfigPeripheralsConfigSparkHistoryServerConfig.fromMap((guardedValue as Map).cast<String, dynamic>())); })(),
  );
}