toXml method

XmlNode toXml()

Implementation

XmlNode toXml() {
  final builder = XmlBuilder();
  builder.element(
    'ServerSideEncryptionConfiguration',
    nest: () {
      builder.element('Rules', nest: rules!.toXml());
    },
  );
  return builder.buildDocument();
}