toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element('AnalyticsS3BucketDestination', nest: () {
    builder.element('Bucket', nest: bucket);
    builder.element('BucketAccountId', nest: bucketAccountId);
    builder.element('Format', nest: format);
    builder.element('Prefix', nest: prefix);
  });
  return builder.buildDocument();
}