« blib/lib/Paws/CostExplorer/ResultByTime.pm
↑ Summary
blib/lib/Paws/CostExplorer/RightsizingRecommendationConfiguration.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::CostExplorer::RightsizingRecommendation; | ||
| 3 | use Moose; | ||
| 4 | has AccountId => (is => 'ro', isa => 'Str'); | ||
| 5 | has CurrentInstance => (is => 'ro', isa => 'Paws::CostExplorer::CurrentInstance'); | ||
| 6 | has FindingReasonCodes => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 7 | has ModifyRecommendationDetail => (is => 'ro', isa => 'Paws::CostExplorer::ModifyRecommendationDetail'); | ||
| 8 | has RightsizingType => (is => 'ro', isa => 'Str'); | ||
| 9 | has TerminateRecommendationDetail => (is => 'ro', isa => 'Paws::CostExplorer::TerminateRecommendationDetail'); | ||
| 10 | |||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::CostExplorer::RightsizingRecommendation | ||
| 18 | |||
| 19 | =head1 USAGE | ||
| 20 | |||
| 21 | This class represents one of two things: | ||
| 22 | |||
| 23 | =head3 Arguments in a call to a service | ||
| 24 | |||
| 25 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 26 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 27 | |||
| 28 | As an example, if Att1 is expected to be a Paws::CostExplorer::RightsizingRecommendation object: | ||
| 29 | |||
| 30 | $service_obj->Method(Att1 => { AccountId => $value, ..., TerminateRecommendationDetail => $value }); | ||
| 31 | |||
| 32 | =head3 Results returned from an API call | ||
| 33 | |||
| 34 | Use accessors for each attribute. If Att1 is expected to be an Paws::CostExplorer::RightsizingRecommendation object: | ||
| 35 | |||
| 36 | $result = $service_obj->Method(...); | ||
| 37 | $result->Att1->AccountId | ||
| 38 | |||
| 39 | =head1 DESCRIPTION | ||
| 40 | |||
| 41 | Recommendations to rightsize resources. | ||
| 42 | |||
| 43 | =head1 ATTRIBUTES | ||
| 44 | |||
| 45 | |||
| 46 | =head2 AccountId => Str | ||
| 47 | |||
| 48 | The account that this recommendation is for. | ||
| 49 | |||
| 50 | |||
| 51 | =head2 CurrentInstance => L<Paws::CostExplorer::CurrentInstance> | ||
| 52 | |||
| 53 | Context regarding the current instance. | ||
| 54 | |||
| 55 | |||
| 56 | =head2 FindingReasonCodes => ArrayRef[Str|Undef] | ||
| 57 | |||
| 58 | The list of possible reasons why the recommendation is generated such | ||
| 59 | as under or over utilization of specific metrics (for example, CPU, | ||
| 60 | Memory, Network). | ||
| 61 | |||
| 62 | |||
| 63 | =head2 ModifyRecommendationDetail => L<Paws::CostExplorer::ModifyRecommendationDetail> | ||
| 64 | |||
| 65 | Details for modification recommendations. | ||
| 66 | |||
| 67 | |||
| 68 | =head2 RightsizingType => Str | ||
| 69 | |||
| 70 | Recommendation to either terminate or modify the resource. | ||
| 71 | |||
| 72 | |||
| 73 | =head2 TerminateRecommendationDetail => L<Paws::CostExplorer::TerminateRecommendationDetail> | ||
| 74 | |||
| 75 | Details for termination recommendations. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | =head1 SEE ALSO | ||
| 80 | |||
| 81 | This class forms part of L<Paws>, describing an object used in L<Paws::CostExplorer> | ||
| 82 | |||
| 83 | =head1 BUGS and CONTRIBUTIONS | ||
| 84 | |||
| 85 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 86 | |||
| 87 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 88 | |||
| 89 | =cut | ||
| 90 |