line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Net::Amazon::EC2::InstanceBlockDeviceMapping; |
2
|
2
|
|
|
2
|
|
1501
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
62
|
|
3
|
2
|
|
|
2
|
|
11
|
use Moose; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
15
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=head1 NAME |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
Net::Amazon::EC2::InstanceBlockDeviceMapping |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=head1 DESCRIPTION |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
A class representing a instance block device mapping |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=over |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=item volume_id (required) |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
The volume id of the EBS Volume. |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=item status (required) |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
The status of the attachment. |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=item attach_time (required) |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
The time of attachment. |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=item delete_on_termination (required) |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
A boolean indicating if the volume will be deleted on instance termination. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=back |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=cut |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
has 'volume_id' => ( is => 'ro', isa => 'Str', required => 1 ); |
38
|
|
|
|
|
|
|
has 'status' => ( is => 'ro', isa => 'Str', required => 1 ); |
39
|
|
|
|
|
|
|
has 'attach_time' => ( is => 'ro', isa => 'Str', required => 1 ); |
40
|
|
|
|
|
|
|
has 'delete_on_termination' => ( is => 'ro', isa => 'Str', required => 1 ); |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable(); |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 AUTHOR |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Jeff Kim <cpan@chosec.com> |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 COPYRIGHT |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it |
51
|
|
|
|
|
|
|
under the same terms as Perl itself. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=cut |
54
|
|
|
|
|
|
|
|
55
|
2
|
|
|
2
|
|
14014
|
no Moose; |
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
13
|
|
56
|
|
|
|
|
|
|
1; |