S3DestinationConfiguration.fromJson constructor

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

Implementation

factory S3DestinationConfiguration.fromJson(Map<String, dynamic> json) {
  return S3DestinationConfiguration(
    bucket: json['bucket'] as String,
    key: json['key'] as String,
    roleArn: json['roleArn'] as String,
    glueConfiguration: json['glueConfiguration'] != null
        ? GlueConfiguration.fromJson(
            json['glueConfiguration'] as Map<String, dynamic>)
        : null,
  );
}