FileCacheLustreConfigurationLogConfiguration.fromMap constructor

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

Implementation

factory FileCacheLustreConfigurationLogConfiguration.fromMap(Map<String, dynamic> map) {
  return FileCacheLustreConfigurationLogConfiguration(
    destination: (() { final guardedValue = map['destination']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
    level: (() { final guardedValue = map['level']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}