EC2/CreateVolumePermission.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« EC2/ConsoleOutput.pm ↑ Summary EC2/DescribeAddress.pm »
1 package Net::Amazon::EC2::CreateVolumePermission;
2 2 $Net::Amazon::EC2::CreateVolumePermission::VERSION = '0.36';
3 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 =head1 NAME
6  
7 Net::Amazon::EC2::CreateVolumePermission
8  
9 =head1 DESCRIPTION
10  
11 A class representing the users or groups allowed to create a volume from the associated snapshot.
12  
13 =head1 ATTRIBUTES
14  
15 =over
16  
17 =item user_id (optional)
18  
19 User ID of a user that can create volumes from the snapshot.
20  
21 =item group (optional)
22  
23 Group that is allowed to create volumes from the snapshot (currently supports "all").
24  
25 =cut
26  
27 2 has 'user_id' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 );
28 2 has 'group' => ( is => 'ro', isa => 'Maybe[Str]', required => 0 );
29  
30 2 __PACKAGE__->meta->make_immutable();
31  
32 =back
33  
34 =head1 AUTHOR
35  
36 Jeff Kim <cpan@chosec.com>
37  
38 =head1 COPYRIGHT
39  
40 Copyright (c) 2006-2010 Jeff Kim. This program is free software; you can redistribute it and/or modify it
41 under the same terms as Perl itself.
42  
43 =cut
44  
45 2 ▶no Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
46 2 1;
« EC2/ConsoleOutput.pm ↑ Summary EC2/DescribeAddress.pm »