EC2/AvailabilityZone.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« EC2/Attachment.pm ↑ Summary EC2/AvailabilityZoneMessage.pm »
1 package Net::Amazon::EC2::AvailabilityZone;
2 2 $Net::Amazon::EC2::AvailabilityZone::VERSION = '0.36';
3 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 =head1 NAME
6  
7 Net::Amazon::EC2::AvailabilityZone
8  
9 =head1 DESCRIPTION
10  
11 A class representing an availability zone
12  
13 =head1 ATTRIBUTES
14  
15 =over
16  
17 =item zone_name (required)
18  
19 Name of the Availability Zone.
20  
21 =item zone_state (required)
22  
23 State of the Availability Zone.
24  
25 =item region_name (required)
26  
27 Name of the region.
28  
29 =item messages (optional)
30  
31 An array ref of Net::Amazon::EC2::AvailabilityZoneMessage objects representing messages for this zone (if any)
32  
33 =back
34  
35 =cut
36  
37 2 has 'zone_name' => ( is => 'ro', isa => 'Str', required => 1 );
38 2 has 'zone_state' => ( is => 'ro', isa => 'Str', required => 1 );
39 2 has 'region_name' => ( is => 'ro', isa => 'Maybe[Str]', required => 1 );
40 2 has 'messages' => ( is => 'ro', isa => 'ArrayRef[Net::Amazon::EC2::AvailabilityZoneMessage]|Undef', required => 0 );
41  
42 2 __PACKAGE__->meta->make_immutable();
43  
44 =head1 AUTHOR
45  
46 Jeff Kim <cpan@chosec.com>
47  
48 =head1 COPYRIGHT
49  
50 Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it
51 under the same terms as Perl itself.
52  
53 =cut
54  
55 2 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
56 2 1;
« EC2/Attachment.pm ↑ Summary EC2/AvailabilityZoneMessage.pm »