ProcessingClusterConfig.fromJson constructor

ProcessingClusterConfig.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ProcessingClusterConfig.fromJson(Map<String, dynamic> json) {
  return ProcessingClusterConfig(
    instanceCount: json['InstanceCount'] as int,
    instanceType: (json['InstanceType'] as String).toProcessingInstanceType(),
    volumeSizeInGB: json['VolumeSizeInGB'] as int,
    volumeKmsKeyId: json['VolumeKmsKeyId'] as String?,
  );
}