| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package Net::Amazon::EC2::InstanceState; | 
| 2 | 2 |  |  | 2 |  | 1254 | use Moose; | 
|  | 2 |  |  |  |  | 5 |  | 
|  | 2 |  |  |  |  | 16 |  | 
| 3 |  |  |  |  |  |  |  | 
| 4 |  |  |  |  |  |  | =head1 NAME | 
| 5 |  |  |  |  |  |  |  | 
| 6 |  |  |  |  |  |  | Net::Amazon::EC2::InstanceState | 
| 7 |  |  |  |  |  |  |  | 
| 8 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 9 |  |  |  |  |  |  |  | 
| 10 |  |  |  |  |  |  | A class representing the state of an instance. | 
| 11 |  |  |  |  |  |  |  | 
| 12 |  |  |  |  |  |  | =head1 ATTRIBUTES | 
| 13 |  |  |  |  |  |  |  | 
| 14 |  |  |  |  |  |  | =over | 
| 15 |  |  |  |  |  |  |  | 
| 16 |  |  |  |  |  |  | =item code (required) | 
| 17 |  |  |  |  |  |  |  | 
| 18 |  |  |  |  |  |  | An interger representing the instance state. Valid values are: | 
| 19 |  |  |  |  |  |  |  | 
| 20 |  |  |  |  |  |  | =over | 
| 21 |  |  |  |  |  |  |  | 
| 22 |  |  |  |  |  |  | =item * 0: pending | 
| 23 |  |  |  |  |  |  |  | 
| 24 |  |  |  |  |  |  | =item * 16: running | 
| 25 |  |  |  |  |  |  |  | 
| 26 |  |  |  |  |  |  | =item * 32: shutting-down | 
| 27 |  |  |  |  |  |  |  | 
| 28 |  |  |  |  |  |  | =item * 48: terminated | 
| 29 |  |  |  |  |  |  |  | 
| 30 |  |  |  |  |  |  | =item * 64: stopping | 
| 31 |  |  |  |  |  |  |  | 
| 32 |  |  |  |  |  |  | =item * 80: stopped | 
| 33 |  |  |  |  |  |  |  | 
| 34 |  |  |  |  |  |  | =back | 
| 35 |  |  |  |  |  |  |  | 
| 36 |  |  |  |  |  |  | =item name (required) | 
| 37 |  |  |  |  |  |  |  | 
| 38 |  |  |  |  |  |  | The current named state of the instance. Valid values are: | 
| 39 |  |  |  |  |  |  |  | 
| 40 |  |  |  |  |  |  | =over | 
| 41 |  |  |  |  |  |  |  | 
| 42 |  |  |  |  |  |  | =item * pending: the instance is in the process of being launched | 
| 43 |  |  |  |  |  |  |  | 
| 44 |  |  |  |  |  |  | =item * running: the instance launched (though booting may not be completed) | 
| 45 |  |  |  |  |  |  |  | 
| 46 |  |  |  |  |  |  | =item * shutting-down: the instance started shutting down | 
| 47 |  |  |  |  |  |  |  | 
| 48 |  |  |  |  |  |  | =item * terminated: the instance terminated | 
| 49 |  |  |  |  |  |  |  | 
| 50 |  |  |  |  |  |  | =item * stopping: the instance is in the process of stopping | 
| 51 |  |  |  |  |  |  |  | 
| 52 |  |  |  |  |  |  | =item * stopped: the instance has been stopped | 
| 53 |  |  |  |  |  |  |  | 
| 54 |  |  |  |  |  |  | =back | 
| 55 |  |  |  |  |  |  |  | 
| 56 |  |  |  |  |  |  | =cut | 
| 57 |  |  |  |  |  |  |  | 
| 58 |  |  |  |  |  |  | has 'code'  => ( is => 'ro', isa => 'Int' ); | 
| 59 |  |  |  |  |  |  | has 'name'  => ( is => 'ro', isa => 'Str' ); | 
| 60 |  |  |  |  |  |  |  | 
| 61 |  |  |  |  |  |  | __PACKAGE__->meta->make_immutable(); | 
| 62 |  |  |  |  |  |  |  | 
| 63 |  |  |  |  |  |  | =back | 
| 64 |  |  |  |  |  |  |  | 
| 65 |  |  |  |  |  |  | =head1 AUTHOR | 
| 66 |  |  |  |  |  |  |  | 
| 67 |  |  |  |  |  |  | Jeff Kim <cpan@chosec.com> | 
| 68 |  |  |  |  |  |  |  | 
| 69 |  |  |  |  |  |  | =head1 COPYRIGHT | 
| 70 |  |  |  |  |  |  |  | 
| 71 |  |  |  |  |  |  | Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it | 
| 72 |  |  |  |  |  |  | under the same terms as Perl itself. | 
| 73 |  |  |  |  |  |  |  | 
| 74 |  |  |  |  |  |  | =cut | 
| 75 |  |  |  |  |  |  |  | 
| 76 | 2 |  |  | 2 |  | 13029 | no Moose; | 
|  | 2 |  |  |  |  | 5 |  | 
|  | 2 |  |  |  |  | 12 |  | 
| 77 |  |  |  |  |  |  | 1; |