| 1 | package Net::Amazon::EC2::ConsoleOutput; | ||
| 2 | 2 | $Net::Amazon::EC2::ConsoleOutput::VERSION = '0.36'; | |
| 3 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | =head1 NAME | ||
| 6 | |||
| 7 | Net::Amazon::EC2::ConsoleOutput | ||
| 8 | |||
| 9 | =head1 DESCRIPTION | ||
| 10 | |||
| 11 | A class containing the output from an instance's console | ||
| 12 | |||
| 13 | =head1 ATTRIBUTES | ||
| 14 | |||
| 15 | =over | ||
| 16 | |||
| 17 | =item instance_id (required) | ||
| 18 | |||
| 19 | The instance id of the output returned. | ||
| 20 | |||
| 21 | =item timestamp (required) | ||
| 22 | |||
| 23 | The timestamp of when the console output was last updated. | ||
| 24 | |||
| 25 | =item output (required) | ||
| 26 | |||
| 27 | The console output itself. | ||
| 28 | |||
| 29 | =back | ||
| 30 | |||
| 31 | =cut | ||
| 32 | |||
| 33 | 2 | has 'instance_id' => ( is => 'ro', isa => 'Str', required => 1 ); | |
| 34 | 2 | has 'timestamp' => ( is => 'ro', isa => 'Str', required => 1 ); | |
| 35 | 2 | has 'output' => ( is => 'ro', isa => 'Str', required => 1 ); | |
| 36 | |||
| 37 | 2 | __PACKAGE__->meta->make_immutable(); | |
| 38 | |||
| 39 | =head1 AUTHOR | ||
| 40 | |||
| 41 | Jeff Kim <cpan@chosec.com> | ||
| 42 | |||
| 43 | =head1 COPYRIGHT | ||
| 44 | |||
| 45 | Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it | ||
| 46 | under the same terms as Perl itself. | ||
| 47 | |||
| 48 | =cut | ||
| 49 | |||
| 50 | 2 | ▶ | no Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 51 | 2 | 1; | |