File Coverage

blib/lib/Paws/EC2/ScheduledInstancesNetworkInterface.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::EC2::ScheduledInstancesNetworkInterface;
2 1     1   613 use Moose;
  1         3  
  1         8  
3             has AssociatePublicIpAddress => (is => 'ro', isa => 'Bool');
4             has DeleteOnTermination => (is => 'ro', isa => 'Bool');
5             has Description => (is => 'ro', isa => 'Str');
6             has DeviceIndex => (is => 'ro', isa => 'Int');
7             has Groups => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'Group', traits => ['NameInRequest']);
8             has Ipv6AddressCount => (is => 'ro', isa => 'Int');
9             has Ipv6Addresses => (is => 'ro', isa => 'ArrayRef[Paws::EC2::ScheduledInstancesIpv6Address]', request_name => 'Ipv6Address', traits => ['NameInRequest']);
10             has NetworkInterfaceId => (is => 'ro', isa => 'Str');
11             has PrivateIpAddress => (is => 'ro', isa => 'Str');
12             has PrivateIpAddressConfigs => (is => 'ro', isa => 'ArrayRef[Paws::EC2::ScheduledInstancesPrivateIpAddressConfig]', request_name => 'PrivateIpAddressConfig', traits => ['NameInRequest']);
13             has SecondaryPrivateIpAddressCount => (is => 'ro', isa => 'Int');
14             has SubnetId => (is => 'ro', isa => 'Str');
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::EC2::ScheduledInstancesNetworkInterface
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::EC2::ScheduledInstancesNetworkInterface object:
33              
34             $service_obj->Method(Att1 => { AssociatePublicIpAddress => $value, ..., SubnetId => $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::EC2::ScheduledInstancesNetworkInterface object:
39              
40             $result = $service_obj->Method(...);
41             $result->Att1->AssociatePublicIpAddress
42              
43             =head1 DESCRIPTION
44              
45             This class has no description
46              
47             =head1 ATTRIBUTES
48              
49              
50             =head2 AssociatePublicIpAddress => Bool
51              
52             Indicates whether to assign a public IPv4 address to instances launched
53             in a VPC. The public IPv4 address can only be assigned to a network
54             interface for eth0, and can only be assigned to a new network
55             interface, not an existing one. You cannot specify more than one
56             network interface in the request. If launching into a default subnet,
57             the default value is C<true>.
58              
59              
60             =head2 DeleteOnTermination => Bool
61              
62             Indicates whether to delete the interface when the instance is
63             terminated.
64              
65              
66             =head2 Description => Str
67              
68             The description.
69              
70              
71             =head2 DeviceIndex => Int
72              
73             The index of the device for the network interface attachment.
74              
75              
76             =head2 Groups => ArrayRef[Str|Undef]
77              
78             The IDs of one or more security groups.
79              
80              
81             =head2 Ipv6AddressCount => Int
82              
83             The number of IPv6 addresses to assign to the network interface. The
84             IPv6 addresses are automatically selected from the subnet range.
85              
86              
87             =head2 Ipv6Addresses => ArrayRef[L<Paws::EC2::ScheduledInstancesIpv6Address>]
88              
89             One or more specific IPv6 addresses from the subnet range.
90              
91              
92             =head2 NetworkInterfaceId => Str
93              
94             The ID of the network interface.
95              
96              
97             =head2 PrivateIpAddress => Str
98              
99             The IPv4 address of the network interface within the subnet.
100              
101              
102             =head2 PrivateIpAddressConfigs => ArrayRef[L<Paws::EC2::ScheduledInstancesPrivateIpAddressConfig>]
103              
104             The private IPv4 addresses.
105              
106              
107             =head2 SecondaryPrivateIpAddressCount => Int
108              
109             The number of secondary private IPv4 addresses.
110              
111              
112             =head2 SubnetId => Str
113              
114             The ID of the subnet.
115              
116              
117              
118             =head1 SEE ALSO
119              
120             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
121              
122             =head1 BUGS and CONTRIBUTIONS
123              
124             The source code is located here: https://github.com/pplu/aws-sdk-perl
125              
126             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
127              
128             =cut