File Coverage

blib/lib/Paws/OpsWorks/VolumeConfiguration.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::OpsWorks::VolumeConfiguration;
2 1     1   553 use Moose;
  1         4  
  1         7  
3             has Iops => (is => 'ro', isa => 'Int');
4             has MountPoint => (is => 'ro', isa => 'Str', required => 1);
5             has NumberOfDisks => (is => 'ro', isa => 'Int', required => 1);
6             has RaidLevel => (is => 'ro', isa => 'Int');
7             has Size => (is => 'ro', isa => 'Int', required => 1);
8             has VolumeType => (is => 'ro', isa => 'Str');
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::OpsWorks::VolumeConfiguration
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::OpsWorks::VolumeConfiguration object:
27              
28             $service_obj->Method(Att1 => { Iops => $value, ..., VolumeType => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::OpsWorks::VolumeConfiguration object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->Iops
36              
37             =head1 DESCRIPTION
38              
39             Describes an Amazon EBS volume configuration.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 Iops => Int
45              
46             For PIOPS volumes, the IOPS per disk.
47              
48              
49             =head2 B<REQUIRED> MountPoint => Str
50              
51             The volume mount point. For example "/dev/sdh".
52              
53              
54             =head2 B<REQUIRED> NumberOfDisks => Int
55              
56             The number of disks in the volume.
57              
58              
59             =head2 RaidLevel => Int
60              
61             The volume RAID level.
62              
63              
64             =head2 B<REQUIRED> Size => Int
65              
66             The volume size.
67              
68              
69             =head2 VolumeType => Str
70              
71             The volume type:
72              
73             =over
74              
75             =item *
76              
77             C<standard> - Magnetic
78              
79             =item *
80              
81             C<io1> - Provisioned IOPS (SSD)
82              
83             =item *
84              
85             C<gp2> - General Purpose (SSD)
86              
87             =back
88              
89              
90              
91              
92             =head1 SEE ALSO
93              
94             This class forms part of L<Paws>, describing an object used in L<Paws::OpsWorks>
95              
96             =head1 BUGS and CONTRIBUTIONS
97              
98             The source code is located here: https://github.com/pplu/aws-sdk-perl
99              
100             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
101              
102             =cut
103