blib/lib/Paws/EC2/LaunchTemplateInstanceNetworkInterfaceSpecification.pm untested

filter: Statementstmt 0.0% 0 / 33 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 34 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package Paws::EC2::LaunchTemplateInstanceNetworkInterfaceSpecification;
2 use Moose;
3 has AssociateCarrierIpAddress => (is => 'ro', isa => 'Bool', request_name => 'associateCarrierIpAddress', traits => ['NameInRequest']);
4 has AssociatePublicIpAddress => (is => 'ro', isa => 'Bool', request_name => 'associatePublicIpAddress', traits => ['NameInRequest']);
5 has DeleteOnTermination => (is => 'ro', isa => 'Bool', request_name => 'deleteOnTermination', traits => ['NameInRequest']);
6 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
7 has DeviceIndex => (is => 'ro', isa => 'Int', request_name => 'deviceIndex', traits => ['NameInRequest']);
8 has Groups => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'groupSet', traits => ['NameInRequest']);
9 has InterfaceType => (is => 'ro', isa => 'Str', request_name => 'interfaceType', traits => ['NameInRequest']);
10 has Ipv6AddressCount => (is => 'ro', isa => 'Int', request_name => 'ipv6AddressCount', traits => ['NameInRequest']);
11 has Ipv6Addresses => (is => 'ro', isa => 'ArrayRef[Paws::EC2::InstanceIpv6Address]', request_name => 'ipv6AddressesSet', traits => ['NameInRequest']);
12 has NetworkCardIndex => (is => 'ro', isa => 'Int', request_name => 'networkCardIndex', traits => ['NameInRequest']);
13 has NetworkInterfaceId => (is => 'ro', isa => 'Str', request_name => 'networkInterfaceId', traits => ['NameInRequest']);
14 has PrivateIpAddress => (is => 'ro', isa => 'Str', request_name => 'privateIpAddress', traits => ['NameInRequest']);
15 has PrivateIpAddresses => (is => 'ro', isa => 'ArrayRef[Paws::EC2::PrivateIpAddressSpecification]', request_name => 'privateIpAddressesSet', traits => ['NameInRequest']);
16 has SecondaryPrivateIpAddressCount => (is => 'ro', isa => 'Int', request_name => 'secondaryPrivateIpAddressCount', traits => ['NameInRequest']);
17 has SubnetId => (is => 'ro', isa => 'Str', request_name => 'subnetId', traits => ['NameInRequest']);
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::EC2::LaunchTemplateInstanceNetworkInterfaceSpecification
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::LaunchTemplateInstanceNetworkInterfaceSpecification object:
36  
37 $service_obj->Method(Att1 => { AssociateCarrierIpAddress => $value, ..., SubnetId => $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::LaunchTemplateInstanceNetworkInterfaceSpecification object:
42  
43 $result = $service_obj->Method(...);
44 $result->Att1->AssociateCarrierIpAddress
45  
46 =head1 DESCRIPTION
47  
48 This class has no description
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 AssociateCarrierIpAddress => Bool
54  
55 Indicates whether to associate a Carrier IP address with eth0 for a new
56 network interface.
57  
58 Use this option when you launch an instance in a Wavelength Zone and
59 want to associate a Carrier IP address with the network interface. For
60 more information about Carrier IP addresses, see Carrier IP addresses
61 (https://docs.aws.amazon.com/wavelength/latest/developerguide/how-wavelengths-work.html#provider-owned-ip)
62 in the I<AWS Wavelength Developer Guide>.
63  
64  
65 =head2 AssociatePublicIpAddress => Bool
66  
67 Indicates whether to associate a public IPv4 address with eth0 for a
68 new network interface.
69  
70  
71 =head2 DeleteOnTermination => Bool
72  
73 Indicates whether the network interface is deleted when the instance is
74 terminated.
75  
76  
77 =head2 Description => Str
78  
79 A description for the network interface.
80  
81  
82 =head2 DeviceIndex => Int
83  
84 The device index for the network interface attachment.
85  
86  
87 =head2 Groups => ArrayRef[Str|Undef]
88  
89 The IDs of one or more security groups.
90  
91  
92 =head2 InterfaceType => Str
93  
94 The type of network interface.
95  
96  
97 =head2 Ipv6AddressCount => Int
98  
99 The number of IPv6 addresses for the network interface.
100  
101  
102 =head2 Ipv6Addresses => ArrayRef[L<Paws::EC2::InstanceIpv6Address>]
103  
104 The IPv6 addresses for the network interface.
105  
106  
107 =head2 NetworkCardIndex => Int
108  
109 The index of the network card.
110  
111  
112 =head2 NetworkInterfaceId => Str
113  
114 The ID of the network interface.
115  
116  
117 =head2 PrivateIpAddress => Str
118  
119 The primary private IPv4 address of the network interface.
120  
121  
122 =head2 PrivateIpAddresses => ArrayRef[L<Paws::EC2::PrivateIpAddressSpecification>]
123  
124 One or more private IPv4 addresses.
125  
126  
127 =head2 SecondaryPrivateIpAddressCount => Int
128  
129 The number of secondary private IPv4 addresses for the network
130 interface.
131  
132  
133 =head2 SubnetId => Str
134  
135 The ID of the subnet for the network interface.
136  
137  
138  
139 =head1 SEE ALSO
140  
141 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
142  
143 =head1 BUGS and CONTRIBUTIONS
144  
145 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
146  
147 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
148  
149 =cut