line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::Amazon::EC2::AvailabilityZone; |
2
|
2
|
|
|
2
|
|
23380
|
use Moose; |
|
2
|
|
|
|
|
506269
|
|
|
2
|
|
|
|
|
18
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
=head1 NAME |
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
Net::Amazon::EC2::AvailabilityZone |
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
=head1 DESCRIPTION |
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
A class representing an availability zone |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=over |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=item zone_name (required) |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
Name of the Availability Zone. |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=item zone_state (required) |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
State of the Availability Zone. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=item region_name (required) |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
Name of the region. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=item messages (optional) |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
An array ref of Net::Amazon::EC2::AvailabilityZoneMessage objects representing messages for this zone (if any) |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=back |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=cut |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
has 'zone_name' => ( is => 'ro', isa => 'Str', required => 1 ); |
37
|
|
|
|
|
|
|
has 'zone_state' => ( is => 'ro', isa => 'Str', required => 1 ); |
38
|
|
|
|
|
|
|
has 'region_name' => ( is => 'ro', isa => 'Maybe[Str]', required => 1 ); |
39
|
|
|
|
|
|
|
has 'messages' => ( is => 'ro', isa => 'ArrayRef[Net::Amazon::EC2::AvailabilityZoneMessage]|Undef', required => 0 ); |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable(); |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=head1 AUTHOR |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
Jeff Kim <cpan@chosec.com> |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head1 COPYRIGHT |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it |
50
|
|
|
|
|
|
|
under the same terms as Perl itself. |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=cut |
53
|
|
|
|
|
|
|
|
54
|
2
|
|
|
2
|
|
14573
|
no Moose; |
|
2
|
|
|
|
|
7
|
|
|
2
|
|
|
|
|
20
|
|
55
|
|
|
|
|
|
|
1; |