ProcessingS3Input.fromJson constructor

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

Implementation

factory ProcessingS3Input.fromJson(Map<String, dynamic> json) {
  return ProcessingS3Input(
    s3DataType: (json['S3DataType'] as String).toProcessingS3DataType(),
    s3Uri: json['S3Uri'] as String,
    localPath: json['LocalPath'] as String?,
    s3CompressionType: (json['S3CompressionType'] as String?)
        ?.toProcessingS3CompressionType(),
    s3DataDistributionType: (json['S3DataDistributionType'] as String?)
        ?.toProcessingS3DataDistributionType(),
    s3InputMode: (json['S3InputMode'] as String?)?.toProcessingS3InputMode(),
  );
}