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

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 20 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::VolumeRecommendation;
3 use Moose;
4 has AccountId => (is => 'ro', isa => 'Str', request_name => 'accountId', traits => ['NameInRequest']);
5 has CurrentConfiguration => (is => 'ro', isa => 'Paws::ComputeOptimizer::VolumeConfiguration', request_name => 'currentConfiguration', traits => ['NameInRequest']);
6 has Finding => (is => 'ro', isa => 'Str', request_name => 'finding', traits => ['NameInRequest']);
7 has LastRefreshTimestamp => (is => 'ro', isa => 'Str', request_name => 'lastRefreshTimestamp', traits => ['NameInRequest']);
8 has LookBackPeriodInDays => (is => 'ro', isa => 'Num', request_name => 'lookBackPeriodInDays', traits => ['NameInRequest']);
9 has UtilizationMetrics => (is => 'ro', isa => 'ArrayRef[Paws::ComputeOptimizer::EBSUtilizationMetric]', request_name => 'utilizationMetrics', traits => ['NameInRequest']);
10 has VolumeArn => (is => 'ro', isa => 'Str', request_name => 'volumeArn', traits => ['NameInRequest']);
11 has VolumeRecommendationOptions => (is => 'ro', isa => 'ArrayRef[Paws::ComputeOptimizer::VolumeRecommendationOption]', request_name => 'volumeRecommendationOptions', traits => ['NameInRequest']);
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::ComputeOptimizer::VolumeRecommendation
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::ComputeOptimizer::VolumeRecommendation object:
31  
32 $service_obj->Method(Att1 => { AccountId => $value, ..., VolumeRecommendationOptions => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::ComputeOptimizer::VolumeRecommendation object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->AccountId
40  
41 =head1 DESCRIPTION
42  
43 Describes an Amazon Elastic Block Store (Amazon EBS) volume
44 recommendation.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 AccountId => Str
50  
51 The AWS account ID of the volume.
52  
53  
54 =head2 CurrentConfiguration => L<Paws::ComputeOptimizer::VolumeConfiguration>
55  
56 An array of objects that describe the current configuration of the
57 volume.
58  
59  
60 =head2 Finding => Str
61  
62 The finding classification of the volume.
63  
64 Findings for volumes include:
65  
66 =over
67  
68 =item *
69  
70 B<C<NotOptimized> >E<mdash>A volume is considered not optimized when
71 AWS Compute Optimizer identifies a recommendation that can provide
72 better performance for your workload.
73  
74 =item *
75  
76 B<C<Optimized> >E<mdash>An volume is considered optimized when Compute
77 Optimizer determines that the volume is correctly provisioned to run
78 your workload based on the chosen volume type. For optimized resources,
79 Compute Optimizer might recommend a new generation volume type.
80  
81 =back
82  
83  
84  
85 =head2 LastRefreshTimestamp => Str
86  
87 The time stamp of when the volume recommendation was last refreshed.
88  
89  
90 =head2 LookBackPeriodInDays => Num
91  
92 The number of days for which utilization metrics were analyzed for the
93 volume.
94  
95  
96 =head2 UtilizationMetrics => ArrayRef[L<Paws::ComputeOptimizer::EBSUtilizationMetric>]
97  
98 An array of objects that describe the utilization metrics of the
99 volume.
100  
101  
102 =head2 VolumeArn => Str
103  
104 The Amazon Resource Name (ARN) of the current volume.
105  
106  
107 =head2 VolumeRecommendationOptions => ArrayRef[L<Paws::ComputeOptimizer::VolumeRecommendationOption>]
108  
109 An array of objects that describe the recommendation options for the
110 volume.
111  
112  
113  
114 =head1 SEE ALSO
115  
116 This class forms part of L<Paws>, describing an object used in L<Paws::ComputeOptimizer>
117  
118 =head1 BUGS and CONTRIBUTIONS
119  
120 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
121  
122 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
123  
124 =cut
125