ó
è?F[c           @   s   d  e  f d „  ƒ  YZ d S(   t   InstanceStatec           B   sA   e  Z d  Z d d d d d d „ Z d „  Z d „  Z d „  Z RS(   s?   
    Represents the state of an EC2 Load Balancer Instance
    c         C   s1   | |  _  | |  _ | |  _ | |  _ | |  _ d S(   s8  
        :ivar boto.ec2.elb.loadbalancer.LoadBalancer load_balancer: The
            load balancer this instance is registered to.
        :ivar str description: A description of the instance.
        :ivar str instance_id: The EC2 instance ID.
        :ivar str reason_code: Provides information about the cause of
            an OutOfService instance. Specifically, it indicates whether the
            cause is Elastic Load Balancing or the instance behind the
            LoadBalancer.
        :ivar str state: Specifies the current state of the instance.
        N(   t   load_balancert   descriptiont   statet   instance_idt   reason_code(   t   selfR   R   R   R   R   (    (    s9   lib/python2.7/site-packages/boto/ec2/elb/instancestate.pyt   __init__   s
    				c         C   s   d |  j  |  j f S(   Ns   InstanceState:(%s,%s)(   R   R   (   R   (    (    s9   lib/python2.7/site-packages/boto/ec2/elb/instancestate.pyt   __repr__/   s    c         C   s   d  S(   N(   t   None(   R   t   namet   attrst
   connection(    (    s9   lib/python2.7/site-packages/boto/ec2/elb/instancestate.pyt   startElement2   s    c         C   st   | d k r | |  _  nX | d k r0 | |  _ n@ | d k rH | |  _ n( | d k r` | |  _ n t |  | | ƒ d  S(   Nt   Descriptiont   Statet
   InstanceIdt
   ReasonCode(   R   R   R   R   t   setattr(   R   R
   t   valueR   (    (    s9   lib/python2.7/site-packages/boto/ec2/elb/instancestate.pyt
   endElement5   s    N(   t   __name__t
   __module__t   __doc__R	   R   R   R   R   (    (    (    s9   lib/python2.7/site-packages/boto/ec2/elb/instancestate.pyR       s   		N(   t   objectR    (    (    (    s9   lib/python2.7/site-packages/boto/ec2/elb/instancestate.pyt   <module>   s    