blib/lib/Paws/CostExplorer/ReservationPurchaseRecommendation.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 11 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CostExplorer::ReservationPurchaseRecommendation;
3 use Moose;
4 has AccountScope => (is => 'ro', isa => 'Str');
5 has LookbackPeriodInDays => (is => 'ro', isa => 'Str');
6 has PaymentOption => (is => 'ro', isa => 'Str');
7 has RecommendationDetails => (is => 'ro', isa => 'ArrayRef[Paws::CostExplorer::ReservationPurchaseRecommendationDetail]');
8 has RecommendationSummary => (is => 'ro', isa => 'Paws::CostExplorer::ReservationPurchaseRecommendationSummary');
9 has ServiceSpecification => (is => 'ro', isa => 'Paws::CostExplorer::ServiceSpecification');
10 has TermInYears => (is => 'ro', isa => 'Str');
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::CostExplorer::ReservationPurchaseRecommendation
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::CostExplorer::ReservationPurchaseRecommendation object:
30  
31 $service_obj->Method(Att1 => { AccountScope => $value, ..., TermInYears => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::CostExplorer::ReservationPurchaseRecommendation object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->AccountScope
39  
40 =head1 DESCRIPTION
41  
42 A specific reservation that AWS recommends for purchase.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 AccountScope => Str
48  
49 The account scope that AWS recommends that you purchase this instance
50 for. For example, you can purchase this reservation for an entire
51 organization in AWS Organizations.
52  
53  
54 =head2 LookbackPeriodInDays => Str
55  
56 How many days of previous usage that AWS considers when making this
57 recommendation.
58  
59  
60 =head2 PaymentOption => Str
61  
62 The payment option for the reservation. For example, C<AllUpfront> or
63 C<NoUpfront>.
64  
65  
66 =head2 RecommendationDetails => ArrayRef[L<Paws::CostExplorer::ReservationPurchaseRecommendationDetail>]
67  
68 Details about the recommended purchases.
69  
70  
71 =head2 RecommendationSummary => L<Paws::CostExplorer::ReservationPurchaseRecommendationSummary>
72  
73 A summary about the recommended purchase.
74  
75  
76 =head2 ServiceSpecification => L<Paws::CostExplorer::ServiceSpecification>
77  
78 Hardware specifications for the service that you want recommendations
79 for.
80  
81  
82 =head2 TermInYears => Str
83  
84 The term of the reservation that you want recommendations for, in
85 years.
86  
87  
88  
89 =head1 SEE ALSO
90  
91 This class forms part of L<Paws>, describing an object used in L<Paws::CostExplorer>
92  
93 =head1 BUGS and CONTRIBUTIONS
94  
95 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
96  
97 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
98  
99 =cut
100