Server : Apache System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64 User : dh_edsupp ( 6597262) PHP Version : 8.2.26 Disable Function : NONE Directory : /lib/python3/dist-packages/boto/ec2/__pycache__/ |
Upload File : |
o ckF[� � @ s d dl mZ G dd� de�ZdS )� )� EC2Objectc sT e Zd ZdZd� fdd� Zdd� Zdd� Zdd d�ZeZddd �Z ddd�Z � ZS )�Addressa� Represents an EC2 Elastic IP Address :ivar public_ip: The Elastic IP address. :ivar instance_id: The instance the address is associated with (if any). :ivar domain: Indicates whether the address is a EC2 address or a VPC address (standard|vpc). :ivar allocation_id: The allocation ID for the address (VPC addresses only). :ivar association_id: The association ID for the address (VPC addresses only). :ivar network_interface_id: The network interface (if any) that the address is associated with (VPC addresses only). :ivar network_interface_owner_id: The owner IID (VPC addresses only). :ivar private_ip_address: The private IP address associated with the Elastic IP address (VPC addresses only). Nc sJ t t| ��|� || _|| _|| _d | _d | _d | _d | _ d | _ d | _d S )N)�superr �__init__� connection� public_ip�instance_id�domain� allocation_id�association_id�network_interface_id�network_interface_owner_id�private_ip_address)�selfr r r �� __class__� �2/usr/lib/python3/dist-packages/boto/ec2/address.pyr ( s zAddress.__init__c C s d| j S )Nz Address:%s)r )r r r r �__repr__4 s zAddress.__repr__c C s� |dkr || _ d S |dkr|| _d S |dkr|| _d S |dkr$|| _d S |dkr-|| _d S |dkr6|| _d S |dkr?|| _d S |dkrH|| _d S t| ||� d S ) N�publicIp� instanceIdr �allocationId� associationId�networkInterfaceId�networkInterfaceOwnerId�privateIpAddress) r r r r r r r r �setattr)r �name�valuer r r r � endElement7 s"