EC2/EbsInstanceBlockDeviceMapping.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 19 / 19 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« EC2/EbsBlockDevice.pm ↑ Summary EC2/Events.pm »
1 package Net::Amazon::EC2::EbsInstanceBlockDeviceMapping;
2 2 $Net::Amazon::EC2::EbsInstanceBlockDeviceMapping::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::EbsInstanceBlockDeviceMapping
9  
10 =head1 DESCRIPTION
11  
12 A class representing a EBS block device mapping
13  
14 =head1 ATTRIBUTES
15  
16 =over
17  
18 =item attach_time (required)
19  
20 Time stamp when the attachment initiated.
21  
22 =item delete_on_termination (required)
23  
24 Specifies whether the Amazon EBS volume is deleted on instance termination.
25  
26 =item status (required)
27  
28 Attachment state.
29  
30 =item volume_id (required)
31  
32 The EBS volume id.
33  
34 =back
35  
36 =cut
37  
38 2 has 'attach_time' => ( is => 'ro', isa => 'Str', required => 1 );
39 2 has 'delete_on_termination' => ( is => 'ro', isa => 'Str', required => 1 );
40 2 has 'status' => ( is => 'ro', isa => 'Str', required => 1 );
41 2 has 'volume_id' => ( is => 'ro', isa => 'Str', required => 1 );
42  
43 2 __PACKAGE__->meta->make_immutable();
44  
45 =head1 AUTHOR
46  
47 Jeff Kim <cpan@chosec.com>
48  
49 =head1 COPYRIGHT
50  
51 Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it
52 under the same terms as Perl itself.
53  
54 =cut
55  
56 2 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
57 2 1;
« EC2/EbsBlockDevice.pm ↑ Summary EC2/Events.pm »