S3Location.fromXml constructor
S3Location.fromXml(
- XmlElement? xml
Implementation
S3Location.fromXml(XmlElement? xml) {
accessControlList = Grant.fromXml(getProp(xml, 'AccessControlList'));
bucketName = getProp(xml, 'BucketName')?.innerText;
cannedACL = getProp(xml, 'CannedACL')?.innerText;
encryption = Encryption.fromXml(getProp(xml, 'Encryption'));
prefix = getProp(xml, 'Prefix')?.innerText;
storageClass = getProp(xml, 'StorageClass')?.innerText;
tagging = Tagging.fromXml(getProp(xml, 'Tagging'));
userMetadata = MetadataEntry.fromXml(getProp(xml, 'UserMetadata'));
}