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