toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final s3DataType = this.s3DataType;
  final s3Uri = this.s3Uri;
  final localPath = this.localPath;
  final s3CompressionType = this.s3CompressionType;
  final s3DataDistributionType = this.s3DataDistributionType;
  final s3InputMode = this.s3InputMode;
  return {
    'S3DataType': s3DataType.toValue(),
    'S3Uri': s3Uri,
    if (localPath != null) 'LocalPath': localPath,
    if (s3CompressionType != null)
      'S3CompressionType': s3CompressionType.toValue(),
    if (s3DataDistributionType != null)
      'S3DataDistributionType': s3DataDistributionType.toValue(),
    if (s3InputMode != null) 'S3InputMode': s3InputMode.toValue(),
  };
}