toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element(
    'InputSerialization',
    nest: () {
      builder.element('CompressionType', nest: compressionType);
      builder.element('CSV', nest: cSV!.toXml());
      builder.element('JSON', nest: jSON!.toXml());
      builder.element('Parquet', nest: parquet!.toXml());
    },
  );
  return builder.buildDocument();
}