File Coverage

blib/lib/Paws/ElasticBeanstalk/CPUUtilization.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::ElasticBeanstalk::CPUUtilization;
2 1     1   418 use Moose;
  1         3  
  1         7  
3             has Idle => (is => 'ro', isa => 'Num');
4             has IOWait => (is => 'ro', isa => 'Num');
5             has IRQ => (is => 'ro', isa => 'Num');
6             has Nice => (is => 'ro', isa => 'Num');
7             has SoftIRQ => (is => 'ro', isa => 'Num');
8             has System => (is => 'ro', isa => 'Num');
9             has User => (is => 'ro', isa => 'Num');
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::ElasticBeanstalk::CPUUtilization
17              
18             =head1 USAGE
19              
20             This class represents one of two things:
21              
22             =head3 Arguments in a call to a service
23              
24             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25             Each attribute should be used as a named argument in the calls that expect this type of object.
26              
27             As an example, if Att1 is expected to be a Paws::ElasticBeanstalk::CPUUtilization object:
28              
29             $service_obj->Method(Att1 => { Idle => $value, ..., User => $value });
30              
31             =head3 Results returned from an API call
32              
33             Use accessors for each attribute. If Att1 is expected to be an Paws::ElasticBeanstalk::CPUUtilization object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->Idle
37              
38             =head1 DESCRIPTION
39              
40             CPU utilization metrics for an instance.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 Idle => Num
46              
47             Percentage of time that the CPU has spent in the C<Idle> state over the
48             last 10 seconds.
49              
50              
51             =head2 IOWait => Num
52              
53             Percentage of time that the CPU has spent in the C<I/O Wait> state over
54             the last 10 seconds.
55              
56              
57             =head2 IRQ => Num
58              
59             Percentage of time that the CPU has spent in the C<IRQ> state over the
60             last 10 seconds.
61              
62              
63             =head2 Nice => Num
64              
65             Percentage of time that the CPU has spent in the C<Nice> state over the
66             last 10 seconds.
67              
68              
69             =head2 SoftIRQ => Num
70              
71             Percentage of time that the CPU has spent in the C<SoftIRQ> state over
72             the last 10 seconds.
73              
74              
75             =head2 System => Num
76              
77             Percentage of time that the CPU has spent in the C<System> state over
78             the last 10 seconds.
79              
80              
81             =head2 User => Num
82              
83             Percentage of time that the CPU has spent in the C<User> state over the
84             last 10 seconds.
85              
86              
87              
88             =head1 SEE ALSO
89              
90             This class forms part of L<Paws>, describing an object used in L<Paws::ElasticBeanstalk>
91              
92             =head1 BUGS and CONTRIBUTIONS
93              
94             The source code is located here: https://github.com/pplu/aws-sdk-perl
95              
96             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
97              
98             =cut
99