blib/lib/Paws/Inspector/NetworkInterface.pm untested

filter: Statementstmt 0.0% 0 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 24 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Inspector::NetworkInterface;
3 use Moose;
4 has Ipv6Addresses => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'ipv6Addresses', traits => ['NameInRequest']);
5 has NetworkInterfaceId => (is => 'ro', isa => 'Str', request_name => 'networkInterfaceId', traits => ['NameInRequest']);
6 has PrivateDnsName => (is => 'ro', isa => 'Str', request_name => 'privateDnsName', traits => ['NameInRequest']);
7 has PrivateIpAddress => (is => 'ro', isa => 'Str', request_name => 'privateIpAddress', traits => ['NameInRequest']);
8 has PrivateIpAddresses => (is => 'ro', isa => 'ArrayRef[Paws::Inspector::PrivateIp]', request_name => 'privateIpAddresses', traits => ['NameInRequest']);
9 has PublicDnsName => (is => 'ro', isa => 'Str', request_name => 'publicDnsName', traits => ['NameInRequest']);
10 has PublicIp => (is => 'ro', isa => 'Str', request_name => 'publicIp', traits => ['NameInRequest']);
11 has SecurityGroups => (is => 'ro', isa => 'ArrayRef[Paws::Inspector::SecurityGroup]', request_name => 'securityGroups', traits => ['NameInRequest']);
12 has SubnetId => (is => 'ro', isa => 'Str', request_name => 'subnetId', traits => ['NameInRequest']);
13 has VpcId => (is => 'ro', isa => 'Str', request_name => 'vpcId', traits => ['NameInRequest']);
14  
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::Inspector::NetworkInterface
22  
23 =head1 USAGE
24  
25 This class represents one of two things:
26  
27 =head3 Arguments in a call to a service
28  
29 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
30 Each attribute should be used as a named argument in the calls that expect this type of object.
31  
32 As an example, if Att1 is expected to be a Paws::Inspector::NetworkInterface object:
33  
34 $service_obj->Method(Att1 => { Ipv6Addresses => $value, ..., VpcId => $value });
35  
36 =head3 Results returned from an API call
37  
38 Use accessors for each attribute. If Att1 is expected to be an Paws::Inspector::NetworkInterface object:
39  
40 $result = $service_obj->Method(...);
41 $result->Att1->Ipv6Addresses
42  
43 =head1 DESCRIPTION
44  
45 Contains information about the network interfaces interacting with an
46 EC2 instance. This data type is used as one of the elements of the
47 AssetAttributes data type.
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 Ipv6Addresses => ArrayRef[Str|Undef]
53  
54 The IP addresses associated with the network interface.
55  
56  
57 =head2 NetworkInterfaceId => Str
58  
59 The ID of the network interface.
60  
61  
62 =head2 PrivateDnsName => Str
63  
64 The name of a private DNS associated with the network interface.
65  
66  
67 =head2 PrivateIpAddress => Str
68  
69 The private IP address associated with the network interface.
70  
71  
72 =head2 PrivateIpAddresses => ArrayRef[L<Paws::Inspector::PrivateIp>]
73  
74 A list of the private IP addresses associated with the network
75 interface. Includes the privateDnsName and privateIpAddress.
76  
77  
78 =head2 PublicDnsName => Str
79  
80 The name of a public DNS associated with the network interface.
81  
82  
83 =head2 PublicIp => Str
84  
85 The public IP address from which the network interface is reachable.
86  
87  
88 =head2 SecurityGroups => ArrayRef[L<Paws::Inspector::SecurityGroup>]
89  
90 A list of the security groups associated with the network interface.
91 Includes the groupId and groupName.
92  
93  
94 =head2 SubnetId => Str
95  
96 The ID of a subnet associated with the network interface.
97  
98  
99 =head2 VpcId => Str
100  
101 The ID of a VPC associated with the network interface.
102  
103  
104  
105 =head1 SEE ALSO
106  
107 This class forms part of L<Paws>, describing an object used in L<Paws::Inspector>
108  
109 =head1 BUGS and CONTRIBUTIONS
110  
111 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
112  
113 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
114  
115 =cut
116