ServerSideEncryptionRule.fromXml constructor

ServerSideEncryptionRule.fromXml(
  1. XmlElement elem
)

Implementation

factory ServerSideEncryptionRule.fromXml(_s.XmlElement elem) {
  return ServerSideEncryptionRule(
    applyServerSideEncryptionByDefault: _s
        .extractXmlChild(elem, 'ApplyServerSideEncryptionByDefault')
        ?.let((e) => ServerSideEncryptionByDefault.fromXml(e)),
    bucketKeyEnabled: _s.extractXmlBoolValue(elem, 'BucketKeyEnabled'),
  );
}