File Coverage

blib/lib/Paws/EC2/Address.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::EC2::Address;
2 1     1   518 use Moose;
  1     1   3  
  1         8  
  1         579  
  1         5  
  1         10  
3             has AllocationId => (is => 'ro', isa => 'Str', request_name => 'allocationId', traits => ['NameInRequest']);
4             has AssociationId => (is => 'ro', isa => 'Str', request_name => 'associationId', traits => ['NameInRequest']);
5             has Domain => (is => 'ro', isa => 'Str', request_name => 'domain', traits => ['NameInRequest']);
6             has InstanceId => (is => 'ro', isa => 'Str', request_name => 'instanceId', traits => ['NameInRequest']);
7             has NetworkInterfaceId => (is => 'ro', isa => 'Str', request_name => 'networkInterfaceId', traits => ['NameInRequest']);
8             has NetworkInterfaceOwnerId => (is => 'ro', isa => 'Str', request_name => 'networkInterfaceOwnerId', traits => ['NameInRequest']);
9             has PrivateIpAddress => (is => 'ro', isa => 'Str', request_name => 'privateIpAddress', traits => ['NameInRequest']);
10             has PublicIp => (is => 'ro', isa => 'Str', request_name => 'publicIp', traits => ['NameInRequest']);
11             1;
12              
13             ### main pod documentation begin ###
14              
15             =head1 NAME
16              
17             Paws::EC2::Address
18              
19             =head1 USAGE
20              
21             This class represents one of two things:
22              
23             =head3 Arguments in a call to a service
24              
25             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
26             Each attribute should be used as a named argument in the calls that expect this type of object.
27              
28             As an example, if Att1 is expected to be a Paws::EC2::Address object:
29              
30             $service_obj->Method(Att1 => { AllocationId => $value, ..., PublicIp => $value });
31              
32             =head3 Results returned from an API call
33              
34             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::Address object:
35              
36             $result = $service_obj->Method(...);
37             $result->Att1->AllocationId
38              
39             =head1 DESCRIPTION
40              
41             This class has no description
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 AllocationId => Str
47              
48             The ID representing the allocation of the address for use with EC2-VPC.
49              
50              
51             =head2 AssociationId => Str
52              
53             The ID representing the association of the address with an instance in
54             a VPC.
55              
56              
57             =head2 Domain => Str
58              
59             Indicates whether this Elastic IP address is for use with instances in
60             EC2-Classic (C<standard>) or instances in a VPC (C<vpc>).
61              
62              
63             =head2 InstanceId => Str
64              
65             The ID of the instance that the address is associated with (if any).
66              
67              
68             =head2 NetworkInterfaceId => Str
69              
70             The ID of the network interface.
71              
72              
73             =head2 NetworkInterfaceOwnerId => Str
74              
75             The ID of the AWS account that owns the network interface.
76              
77              
78             =head2 PrivateIpAddress => Str
79              
80             The private IP address associated with the Elastic IP address.
81              
82              
83             =head2 PublicIp => Str
84              
85             The Elastic IP address.
86              
87              
88              
89             =head1 SEE ALSO
90              
91             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
92              
93             =head1 BUGS and CONTRIBUTIONS
94              
95             The source code is located here: https://github.com/pplu/aws-sdk-perl
96              
97             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
98              
99             =cut