ProfilerRuleConfiguration.fromJson constructor
ProfilerRuleConfiguration.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ProfilerRuleConfiguration.fromJson(Map<String, dynamic> json) {
return ProfilerRuleConfiguration(
ruleConfigurationName: json['RuleConfigurationName'] as String,
ruleEvaluatorImage: json['RuleEvaluatorImage'] as String,
instanceType:
(json['InstanceType'] as String?)?.toProcessingInstanceType(),
localPath: json['LocalPath'] as String?,
ruleParameters: (json['RuleParameters'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
s3OutputPath: json['S3OutputPath'] as String?,
volumeSizeInGB: json['VolumeSizeInGB'] as int?,
);
}