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