blib/lib/Paws/ComputeOptimizer/RecommendedOptionProjectedMetric.pm untested

filter: Statementstmt 0.0% 0 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 10 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ComputeOptimizer::RecommendedOptionProjectedMetric;
3 use Moose;
4 has ProjectedMetrics => (is => 'ro', isa => 'ArrayRef[Paws::ComputeOptimizer::ProjectedMetric]', request_name => 'projectedMetrics', traits => ['NameInRequest']);
5 has Rank => (is => 'ro', isa => 'Int', request_name => 'rank', traits => ['NameInRequest']);
6 has RecommendedInstanceType => (is => 'ro', isa => 'Str', request_name => 'recommendedInstanceType', traits => ['NameInRequest']);
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::ComputeOptimizer::RecommendedOptionProjectedMetric
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::ComputeOptimizer::RecommendedOptionProjectedMetric object:
26  
27 $service_obj->Method(Att1 => { ProjectedMetrics => $value, ..., RecommendedInstanceType => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::ComputeOptimizer::RecommendedOptionProjectedMetric object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->ProjectedMetrics
35  
36 =head1 DESCRIPTION
37  
38 Describes a projected utilization metric of a recommendation option.
39  
40 The C<Cpu> and C<Memory> metrics are the only projected utilization
41 metrics returned when you run the
42 C<GetEC2RecommendationProjectedMetrics> action. Additionally, the
43 C<Memory> metric is returned only for resources that have the unified
44 CloudWatch agent installed on them. For more information, see Enabling
45 Memory Utilization with the CloudWatch Agent
46 (https://docs.aws.amazon.com/compute-optimizer/latest/ug/metrics.html#cw-agent).
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 ProjectedMetrics => ArrayRef[L<Paws::ComputeOptimizer::ProjectedMetric>]
52  
53 An array of objects that describe a projected utilization metric.
54  
55  
56 =head2 Rank => Int
57  
58 The rank of the recommendation option projected metric.
59  
60 The top recommendation option is ranked as C<1>.
61  
62 The projected metric rank correlates to the recommendation option rank.
63 For example, the projected metric ranked as C<1> is related to the
64 recommendation option that is also ranked as C<1> in the same response.
65  
66  
67 =head2 RecommendedInstanceType => Str
68  
69 The recommended instance type.
70  
71  
72  
73 =head1 SEE ALSO
74  
75 This class forms part of L<Paws>, describing an object used in L<Paws::ComputeOptimizer>
76  
77 =head1 BUGS and CONTRIBUTIONS
78  
79 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
80  
81 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
82  
83 =cut
84