ó
è?F[c           @   s    d  Z  d e f d „  ƒ  YZ d S(   s   
Represents an DBSubnetGroup
t   DBSubnetGroupc           B   s>   e  Z d  Z d d d d d „ Z d „  Z d „  Z d „  Z RS(   s•  
    Represents an RDS database subnet group

    Properties reference available from the AWS documentation at http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/API_DeleteDBSubnetGroup.html

    :ivar status: The current status of the subnet group. Possibile values are [ active, ? ]. Reference documentation lacks specifics of possibilities
    :ivar connection: boto.rds.RDSConnection associated with the current object
    :ivar description: The description of the subnet group
    :ivar subnet_ids: List of subnet identifiers in the group
    :ivar name: Name of the subnet group
    :ivar vpc_id: The ID of the VPC the subnets are inside
    c         C   sR   | |  _  | |  _ | |  _ | d  k	 r3 | |  _ n	 g  |  _ d  |  _ d  |  _ d  S(   N(   t
   connectiont   namet   descriptiont   Nonet
   subnet_idst   vpc_idt   status(   t   selfR   R   R   R   (    (    s5   lib/python2.7/site-packages/boto/rds/dbsubnetgroup.pyt   __init__'   s    					c         C   s   d |  j  S(   Ns   DBSubnetGroup:%s(   R   (   R   (    (    s5   lib/python2.7/site-packages/boto/rds/dbsubnetgroup.pyt   __repr__2   s    c         C   s   d  S(   N(    (   R   R   t   attrsR   (    (    s5   lib/python2.7/site-packages/boto/rds/dbsubnetgroup.pyt   startElement5   s    c         C   s“   | d k r |  j  j | ƒ np | d k r7 | |  _ nX | d k rO | |  _ n@ | d k rg | |  _ n( | d k r | |  _ n t |  | | ƒ d  S(   Nt   SubnetIdentifiert   DBSubnetGroupNamet   DBSubnetGroupDescriptiont   VpcIdt   SubnetGroupStatus(   R   t   appendR   R   R   R   t   setattr(   R   R   t   valueR   (    (    s5   lib/python2.7/site-packages/boto/rds/dbsubnetgroup.pyt
   endElement8   s    N(   t   __name__t
   __module__t   __doc__R   R	   R
   R   R   (    (    (    s5   lib/python2.7/site-packages/boto/rds/dbsubnetgroup.pyR       s
   		N(   R   t   objectR    (    (    (    s5   lib/python2.7/site-packages/boto/rds/dbsubnetgroup.pyt   <module>   s   