toJson method
Implementation
Map<String, dynamic> toJson() {
final bucketARN = this.bucketARN;
final roleARN = this.roleARN;
final bufferingHints = this.bufferingHints;
final cloudWatchLoggingOptions = this.cloudWatchLoggingOptions;
final compressionFormat = this.compressionFormat;
final dataFormatConversionConfiguration =
this.dataFormatConversionConfiguration;
final encryptionConfiguration = this.encryptionConfiguration;
final errorOutputPrefix = this.errorOutputPrefix;
final prefix = this.prefix;
final processingConfiguration = this.processingConfiguration;
final s3BackupConfiguration = this.s3BackupConfiguration;
final s3BackupMode = this.s3BackupMode;
return {
'BucketARN': bucketARN,
'RoleARN': roleARN,
if (bufferingHints != null) 'BufferingHints': bufferingHints,
if (cloudWatchLoggingOptions != null)
'CloudWatchLoggingOptions': cloudWatchLoggingOptions,
if (compressionFormat != null)
'CompressionFormat': compressionFormat.toValue(),
if (dataFormatConversionConfiguration != null)
'DataFormatConversionConfiguration': dataFormatConversionConfiguration,
if (encryptionConfiguration != null)
'EncryptionConfiguration': encryptionConfiguration,
if (errorOutputPrefix != null) 'ErrorOutputPrefix': errorOutputPrefix,
if (prefix != null) 'Prefix': prefix,
if (processingConfiguration != null)
'ProcessingConfiguration': processingConfiguration,
if (s3BackupConfiguration != null)
'S3BackupConfiguration': s3BackupConfiguration,
if (s3BackupMode != null) 'S3BackupMode': s3BackupMode.toValue(),
};
}