File Coverage

blib/lib/Net/Amazon/EC2/EbsInstanceBlockDeviceMapping.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Net::Amazon::EC2::EbsInstanceBlockDeviceMapping;
2 2     2   1610 use strict;
  2         6  
  2         86  
3 2     2   12 use Moose;
  2         5  
  2         17  
4              
5             =head1 NAME
6              
7             Net::Amazon::EC2::EbsInstanceBlockDeviceMapping
8              
9             =head1 DESCRIPTION
10              
11             A class representing a EBS block device mapping
12              
13             =head1 ATTRIBUTES
14              
15             =over
16              
17             =item attach_time (required)
18              
19             Time stamp when the attachment initiated.
20              
21             =item delete_on_termination (required)
22              
23             Specifies whether the Amazon EBS volume is deleted on instance termination.
24              
25             =item status (required)
26              
27             Attachment state.
28              
29             =item volume_id (required)
30              
31             The EBS volume id.
32              
33             =back
34              
35             =cut
36              
37             has 'attach_time' => ( is => 'ro', isa => 'Str', required => 1 );
38             has 'delete_on_termination' => ( is => 'ro', isa => 'Str', required => 1 );
39             has 'status' => ( is => 'ro', isa => 'Str', required => 1 );
40             has 'volume_id' => ( 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   9423 no Moose;
  2         5  
  2         12  
56             1;