LoadBalancerAttributes.fromXml constructor
LoadBalancerAttributes.fromXml(
- XmlElement elem
Implementation
factory LoadBalancerAttributes.fromXml(_s.XmlElement elem) {
return LoadBalancerAttributes(
accessLog: _s
.extractXmlChild(elem, 'AccessLog')
?.let((e) => AccessLog.fromXml(e)),
additionalAttributes: _s
.extractXmlChild(elem, 'AdditionalAttributes')
?.let((elem) => elem
.findElements('member')
.map((c) => AdditionalAttribute.fromXml(c))
.toList()),
connectionDraining: _s
.extractXmlChild(elem, 'ConnectionDraining')
?.let((e) => ConnectionDraining.fromXml(e)),
connectionSettings: _s
.extractXmlChild(elem, 'ConnectionSettings')
?.let((e) => ConnectionSettings.fromXml(e)),
crossZoneLoadBalancing: _s
.extractXmlChild(elem, 'CrossZoneLoadBalancing')
?.let((e) => CrossZoneLoadBalancing.fromXml(e)),
);
}