EC2SecurityGroup.fromXml constructor

EC2SecurityGroup.fromXml(
  1. XmlElement elem
)

Implementation

factory EC2SecurityGroup.fromXml(_s.XmlElement elem) {
  return EC2SecurityGroup(
    eC2SecurityGroupId: _s.extractXmlStringValue(elem, 'EC2SecurityGroupId'),
    eC2SecurityGroupName:
        _s.extractXmlStringValue(elem, 'EC2SecurityGroupName'),
    eC2SecurityGroupOwnerId:
        _s.extractXmlStringValue(elem, 'EC2SecurityGroupOwnerId'),
    status: _s.extractXmlStringValue(elem, 'Status'),
  );
}