o ckF[°ã@s$dZddlmZGdd„deƒZdS)z Represents a Customer Gateway é)ÚTaggedEC2Objectcs.eZdZd‡fdd„ Zdd„Zdd„Z‡ZS) ÚCustomerGatewayNcs2tt|ƒ |¡d|_d|_d|_d|_d|_dS©N)ÚsuperrÚ__init__ÚidÚtypeÚstateÚ ip_addressÚbgp_asn)ÚselfÚ connection©Ú __class__©ú:/usr/lib/python3/dist-packages/boto/vpc/customergateway.pyrs  zCustomerGateway.__init__cCs d|jS)NzCustomerGateway:%s)r)r rrrÚ__repr__'s zCustomerGateway.__repr__cCsn|dkr ||_dS|dkr||_dS|dkr||_dS|dkr$||_dS|dkr/t|ƒ|_dSt|||ƒdS)NÚcustomerGatewayIdÚ ipAddressrr ÚbgpAsn)rr rr Úintr Úsetattr)r ÚnameÚvaluer rrrÚ endElement*s    zCustomerGateway.endElementr)Ú__name__Ú __module__Ú __qualname__rrrÚ __classcell__rrrrrsrN)Ú__doc__Úboto.ec2.ec2objectrrrrrrÚs