1package Net::Amazon::EC2::ReservedInstance;
2$Net::Amazon::EC2::ReservedInstance::VERSION = '0.36';
3use Moose;
4
5=head1 NAME
6
7Net::Amazon::EC2::ReservedInstance
8
9=head1 DESCRIPTION
10
11A class representing a reserved instance.
12
13=head1 ATTRIBUTES
14
15=over
16
17=item reserved_instances_id (required)
18
19The ID of the Reserved Instance.
20
21=item instance_type (required)
22
23The instance type on which the Reserved Instance can be used.
24
25=item availability_zone (required)
26
27The Availability Zone in which the Reserved Instance can be used.
28
29=item duration (required)
30
31The duration of the Reserved Instance, in seconds.
32
33=item start (required)
34
35The date and time the Reserved Instance started.
36
37=item usage_price (required)
38
39The usage price of the Reserved Instance, per hour.
40
41=item fixed_price (required)
42
43The purchase price of the Reserved Instance.
44
45=item instance_count (required)
46
47The number of Reserved Instances purchased.
48
49=item product_description (required)
50
51The Reserved Instance description.
52
53=item state (required)
54
55The state of the Reserved Instance purchase.
56
57=back
58
59=cut
60
61has 'reserved_instances_id'	=> ( is => 'ro', isa => 'Str', required => 1 );
62has 'instance_type'			=> ( is => 'ro', isa => 'Str', required => 1 );
63has 'availability_zone'		=> ( is => 'ro', isa => 'Str', required => 1 );
64has 'duration'				=> ( is => 'ro', isa => 'Str', required => 1 );
65has 'start'					=> ( is => 'ro', isa => 'Str', required => 1 );
66has 'usage_price'			=> ( is => 'ro', isa => 'Str', required => 1 );
67has 'fixed_price'			=> ( is => 'ro', isa => 'Str', required => 1 );
68has 'instance_count'		=> ( is => 'ro', isa => 'Str', required => 1 );
69has 'product_description'	=> ( is => 'ro', isa => 'Str', required => 1 );
70has 'state'					=> ( is => 'ro', isa => 'Str', required => 1 );
71
72__PACKAGE__->meta->make_immutable();
73
74=head1 AUTHOR
75
76Jeff Kim <cpan@chosec.com>
77
78=head1 COPYRIGHT
79
80Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it
81under the same terms as Perl itself.
82
83=cut
84
85no Moose;
861;
87