File Coverage

blib/lib/Paws/EC2/InstanceNetworkInterface.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::InstanceNetworkInterface;
2 1     1   302 use Moose;
  1     1   2  
  1         7  
  1         566  
  1         2  
  1         8  
3             has Association => (is => 'ro', isa => 'Paws::EC2::InstanceNetworkInterfaceAssociation', request_name => 'association', traits => ['NameInRequest']);
4             has Attachment => (is => 'ro', isa => 'Paws::EC2::InstanceNetworkInterfaceAttachment', request_name => 'attachment', traits => ['NameInRequest']);
5             has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
6             has Groups => (is => 'ro', isa => 'ArrayRef[Paws::EC2::GroupIdentifier]', request_name => 'groupSet', traits => ['NameInRequest']);
7             has Ipv6Addresses => (is => 'ro', isa => 'ArrayRef[Paws::EC2::InstanceIpv6Address]', request_name => 'ipv6AddressesSet', traits => ['NameInRequest']);
8             has MacAddress => (is => 'ro', isa => 'Str', request_name => 'macAddress', traits => ['NameInRequest']);
9             has NetworkInterfaceId => (is => 'ro', isa => 'Str', request_name => 'networkInterfaceId', traits => ['NameInRequest']);
10             has OwnerId => (is => 'ro', isa => 'Str', request_name => 'ownerId', traits => ['NameInRequest']);
11             has PrivateDnsName => (is => 'ro', isa => 'Str', request_name => 'privateDnsName', traits => ['NameInRequest']);
12             has PrivateIpAddress => (is => 'ro', isa => 'Str', request_name => 'privateIpAddress', traits => ['NameInRequest']);
13             has PrivateIpAddresses => (is => 'ro', isa => 'ArrayRef[Paws::EC2::InstancePrivateIpAddress]', request_name => 'privateIpAddressesSet', traits => ['NameInRequest']);
14             has SourceDestCheck => (is => 'ro', isa => 'Bool', request_name => 'sourceDestCheck', traits => ['NameInRequest']);
15             has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
16             has SubnetId => (is => 'ro', isa => 'Str', request_name => 'subnetId', traits => ['NameInRequest']);
17             has VpcId => (is => 'ro', isa => 'Str', request_name => 'vpcId', traits => ['NameInRequest']);
18             1;
19              
20             ### main pod documentation begin ###
21              
22             =head1 NAME
23              
24             Paws::EC2::InstanceNetworkInterface
25              
26             =head1 USAGE
27              
28             This class represents one of two things:
29              
30             =head3 Arguments in a call to a service
31              
32             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
33             Each attribute should be used as a named argument in the calls that expect this type of object.
34              
35             As an example, if Att1 is expected to be a Paws::EC2::InstanceNetworkInterface object:
36              
37             $service_obj->Method(Att1 => { Association => $value, ..., VpcId => $value });
38              
39             =head3 Results returned from an API call
40              
41             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::InstanceNetworkInterface object:
42              
43             $result = $service_obj->Method(...);
44             $result->Att1->Association
45              
46             =head1 DESCRIPTION
47              
48             This class has no description
49              
50             =head1 ATTRIBUTES
51              
52              
53             =head2 Association => L<Paws::EC2::InstanceNetworkInterfaceAssociation>
54              
55             The association information for an Elastic IPv4 associated with the
56             network interface.
57              
58              
59             =head2 Attachment => L<Paws::EC2::InstanceNetworkInterfaceAttachment>
60              
61             The network interface attachment.
62              
63              
64             =head2 Description => Str
65              
66             The description.
67              
68              
69             =head2 Groups => ArrayRef[L<Paws::EC2::GroupIdentifier>]
70              
71             One or more security groups.
72              
73              
74             =head2 Ipv6Addresses => ArrayRef[L<Paws::EC2::InstanceIpv6Address>]
75              
76             One or more IPv6 addresses associated with the network interface.
77              
78              
79             =head2 MacAddress => Str
80              
81             The MAC address.
82              
83              
84             =head2 NetworkInterfaceId => Str
85              
86             The ID of the network interface.
87              
88              
89             =head2 OwnerId => Str
90              
91             The ID of the AWS account that created the network interface.
92              
93              
94             =head2 PrivateDnsName => Str
95              
96             The private DNS name.
97              
98              
99             =head2 PrivateIpAddress => Str
100              
101             The IPv4 address of the network interface within the subnet.
102              
103              
104             =head2 PrivateIpAddresses => ArrayRef[L<Paws::EC2::InstancePrivateIpAddress>]
105              
106             One or more private IPv4 addresses associated with the network
107             interface.
108              
109              
110             =head2 SourceDestCheck => Bool
111              
112             Indicates whether to validate network traffic to or from this network
113             interface.
114              
115              
116             =head2 Status => Str
117              
118             The status of the network interface.
119              
120              
121             =head2 SubnetId => Str
122              
123             The ID of the subnet.
124              
125              
126             =head2 VpcId => Str
127              
128             The ID of the VPC.
129              
130              
131              
132             =head1 SEE ALSO
133              
134             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
135              
136             =head1 BUGS and CONTRIBUTIONS
137              
138             The source code is located here: https://github.com/pplu/aws-sdk-perl
139              
140             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
141              
142             =cut