File Coverage

blib/lib/Net/Amazon/EC2/InstanceStatuses.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 Net::Amazon::EC2::InstanceStatuses;
2 2     2   1481 use Moose;
  2         6  
  2         15  
3              
4             =head1 NAME
5              
6             Net::Amazon::EC2::InstanceStatuses
7              
8             =head1 DESCRIPTION
9              
10             A class representing a EC2 InstanceStatuses block
11              
12             =head1 ATTRIBUTES
13              
14             =over
15              
16             =item instance_status (required)
17              
18             The instance status results.
19              
20             =item availability_zone (required)
21              
22             The availability_zone results.
23              
24             =item instance_id (required)
25              
26             The instance_id results.
27              
28             =item instance_state (required)
29              
30             The instance_state results.
31              
32             =item system_status (required)
33              
34             The system_status results.
35              
36             =item events (required)
37              
38             The events results
39              
40             =back
41              
42             =cut
43              
44             has 'availability_zone' => ( is => 'ro', isa => 'Str', required => 1 );
45             has 'events' =>
46             ( is => 'ro', isa => 'ArrayRef[Net::Amazon::EC2::Events]', required => 1 );
47             has 'instance_id' => ( is => 'ro', isa => 'Str', required => 1 );
48             has 'instance_status' =>
49             ( is => 'ro', isa => 'Net::Amazon::EC2::InstanceStatus', required => 1 );
50             has 'instance_state' =>
51             ( is => 'ro', isa => 'Net::Amazon::EC2::InstanceState', required => 1 );
52             has 'system_status' =>
53             ( is => 'ro', isa => 'Net::Amazon::EC2::SystemStatus', required => 1 );
54              
55             __PACKAGE__->meta->make_immutable();
56              
57             =head1 AUTHOR
58              
59             Matt West <https://github.com/mhwest13>
60              
61             =head1 COPYRIGHT
62              
63             Copyright (c) 2014 Matt West. This program is free software; you can redistribute it and/or modify it
64             under the same terms as Perl itself.
65              
66             =cut
67              
68 2     2   13069 no Moose;
  2         6  
  2         11  
69             1;