| 1 | package Net::Amazon::EC2::InstancePassword; | ||
| 2 | 2 | $Net::Amazon::EC2::InstancePassword::VERSION = '0.36'; | |
| 3 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | =head1 NAME | ||
| 6 | |||
| 7 | Net::Amazon::EC2::InstancePassword | ||
| 8 | |||
| 9 | =head1 DESCRIPTION | ||
| 10 | |||
| 11 | A class representing a instance password for a Windows-based instance. | ||
| 12 | |||
| 13 | =head1 ATTRIBUTES | ||
| 14 | |||
| 15 | =over | ||
| 16 | |||
| 17 | =item instance_id (required) | ||
| 18 | |||
| 19 | The ID of the instance. | ||
| 20 | |||
| 21 | =item timestamp (required) | ||
| 22 | |||
| 23 | The time the data was last updated. | ||
| 24 | |||
| 25 | =item password_data (required) | ||
| 26 | |||
| 27 | The password of the instance. | ||
| 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 'password_data' => ( 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; | |