S3SetObjectRetentionOperation.fromXml constructor

S3SetObjectRetentionOperation.fromXml(
  1. XmlElement elem
)

Implementation

factory S3SetObjectRetentionOperation.fromXml(_s.XmlElement elem) {
  return S3SetObjectRetentionOperation(
    retention: S3Retention.fromXml(_s.extractXmlChild(elem, 'Retention')!),
    bypassGovernanceRetention:
        _s.extractXmlBoolValue(elem, 'BypassGovernanceRetention'),
  );
}