StorageLensConfiguration.fromXml constructor
StorageLensConfiguration.fromXml(
- XmlElement elem
Implementation
factory StorageLensConfiguration.fromXml(_s.XmlElement elem) {
return StorageLensConfiguration(
accountLevel:
AccountLevel.fromXml(_s.extractXmlChild(elem, 'AccountLevel')!),
id: _s.extractXmlStringValue(elem, 'Id')!,
isEnabled: _s.extractXmlBoolValue(elem, 'IsEnabled')!,
awsOrg: _s
.extractXmlChild(elem, 'AwsOrg')
?.let((e) => StorageLensAwsOrg.fromXml(e)),
dataExport: _s
.extractXmlChild(elem, 'DataExport')
?.let((e) => StorageLensDataExport.fromXml(e)),
exclude:
_s.extractXmlChild(elem, 'Exclude')?.let((e) => Exclude.fromXml(e)),
include:
_s.extractXmlChild(elem, 'Include')?.let((e) => Include.fromXml(e)),
storageLensArn: _s.extractXmlStringValue(elem, 'StorageLensArn'),
);
}