o ckF[@sTGdddeZGdddeZGdddeZGdddeZGdd d eZd S) c@2eZdZdZd ddZddZddZd d ZdS) ConnectionSettingAttributezE Represents the ConnectionSetting segment of ELB Attributes. NcC d|_dSN idle_timeoutself connectionr 9/usr/lib/python3/dist-packages/boto/ec2/elb/attributes.py__init__ z#ConnectionSettingAttribute.__init__cC d|jS)NzConnectionSettingAttribute(%s)rrr r r __repr__z#ConnectionSettingAttribute.__repr__cCdSrr rnameattrsr r r r startElement!z'ConnectionSettingAttribute.startElementcCs|dkr t||_dSdS)N IdleTimeout)intrrrvaluer r r r endElement$sz%ConnectionSettingAttribute.endElementr__name__ __module__ __qualname____doc__r rrrr r r r r   rc@r) CrossZoneLoadBalancingAttributezK Represents the CrossZoneLoadBalancing segement of ELB Attributes. NcCrrenabledrr r r r ,r z(CrossZoneLoadBalancingAttribute.__init__cCr)Nz#CrossZoneLoadBalancingAttribute(%s)r$rr r r r/rz(CrossZoneLoadBalancingAttribute.__repr__cCrrr rr r r r3rz,CrossZoneLoadBalancingAttribute.startElementcCs,|dkr|dkrd|_dSd|_dSdS)NEnabledtrueTF)lowerr%rr r r r6s    z*CrossZoneLoadBalancingAttribute.endElementrrr r r r r#(r"r#c@r) AccessLogAttributez= Represents the AccessLog segment of ELB attributes. NcCsd|_d|_d|_d|_dSrr%s3_bucket_names3_bucket_prefix emit_intervalrr r r r Bs zAccessLogAttribute.__init__cCsd|j|j|j|jfS)NzAccessLog(%s, %s, %s, %s)r*rr r r rHs zAccessLogAttribute.__repr__cCrrr rr r r rPrzAccessLogAttribute.startElementcCsf|dkr|dkrd|_dSd|_dS|dkr||_dS|dkr&||_dS|dkr1t||_dSdS)Nr&r'TF S3BucketNameS3BucketPrefix EmitInterval)r(r%r+r,rr-rr r r rSs     zAccessLogAttribute.endElementrrr r r r r)>s   r)c@r) ConnectionDrainingAttributezF Represents the ConnectionDraining segment of ELB attributes. NcCsd|_d|_dSrr%timeoutrr r r r es z$ConnectionDrainingAttribute.__init__cCsd|j|jfS)NzConnectionDraining(%s, %s)r2rr r r risz$ConnectionDrainingAttribute.__repr__cCrrr rr r r rorz(ConnectionDrainingAttribute.startElementcCsB|dkr|dkrd|_dSd|_dS|dkrt||_dSdS)Nr&r'TFTimeout)r(r%rr3rr r r rrs   z&ConnectionDrainingAttribute.endElementrrr r r r r1as   r1c@r) LbAttributesz@ Represents the Attributes of an Elastic Load Balancer. NcCs:||_t|j|_t|j|_t|j|_t|j|_dSr) r r#cross_zone_load_balancingr) access_logr1connection_drainingrconnecting_settingsrr r r r s  zLbAttributes.__init__cCs(dt|jt|jt|jt|jfS)NzLbAttributes(%s, %s, %s, %s))reprr6r7r8r9rr r r rs zLbAttributes.__repr__cCs<|dkr|jS|dkr|jS|dkr|jS|dkr|jSdS)NCrossZoneLoadBalancing AccessLogConnectionDrainingConnectionSettings)r6r7r8r9rr r r rszLbAttributes.startElementcCrrr rr r r rrzLbAttributes.endElementrrr r r r r5|s   r5N)objectrr#r)r1r5r r r r s #