blib/lib/Paws/EMR/ComputeLimits.pm untested

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 9 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::EMR::ComputeLimits;
3 use Moose;
4 has MaximumCapacityUnits => (is => 'ro', isa => 'Int', required => 1);
5 has MaximumCoreCapacityUnits => (is => 'ro', isa => 'Int');
6 has MaximumOnDemandCapacityUnits => (is => 'ro', isa => 'Int');
7 has MinimumCapacityUnits => (is => 'ro', isa => 'Int', required => 1);
8 has UnitType => (is => 'ro', isa => 'Str', required => 1);
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::EMR::ComputeLimits
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::EMR::ComputeLimits object:
28  
29 $service_obj->Method(Att1 => { MaximumCapacityUnits => $value, ..., UnitType => $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::EMR::ComputeLimits object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->MaximumCapacityUnits
37  
38 =head1 DESCRIPTION
39  
40 The EC2 unit limits for a managed scaling policy. The managed scaling
41 activity of a cluster can not be above or below these limits. The limit
42 only applies to the core and task nodes. The master node cannot be
43 scaled after initial configuration.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 B<REQUIRED> MaximumCapacityUnits => Int
49  
50 The upper boundary of EC2 units. It is measured through vCPU cores or
51 instances for instance groups and measured through units for instance
52 fleets. Managed scaling activities are not allowed beyond this
53 boundary. The limit only applies to the core and task nodes. The master
54 node cannot be scaled after initial configuration.
55  
56  
57 =head2 MaximumCoreCapacityUnits => Int
58  
59 The upper boundary of EC2 units for core node type in a cluster. It is
60 measured through vCPU cores or instances for instance groups and
61 measured through units for instance fleets. The core units are not
62 allowed to scale beyond this boundary. The parameter is used to split
63 capacity allocation between core and task nodes.
64  
65  
66 =head2 MaximumOnDemandCapacityUnits => Int
67  
68 The upper boundary of On-Demand EC2 units. It is measured through vCPU
69 cores or instances for instance groups and measured through units for
70 instance fleets. The On-Demand units are not allowed to scale beyond
71 this boundary. The parameter is used to split capacity allocation
72 between On-Demand and Spot Instances.
73  
74  
75 =head2 B<REQUIRED> MinimumCapacityUnits => Int
76  
77 The lower boundary of EC2 units. It is measured through vCPU cores or
78 instances for instance groups and measured through units for instance
79 fleets. Managed scaling activities are not allowed beyond this
80 boundary. The limit only applies to the core and task nodes. The master
81 node cannot be scaled after initial configuration.
82  
83  
84 =head2 B<REQUIRED> UnitType => Str
85  
86 The unit type used for specifying a managed scaling policy.
87  
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, describing an object used in L<Paws::EMR>
93  
94 =head1 BUGS and CONTRIBUTIONS
95  
96 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
97  
98 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
99  
100 =cut
101