blib/lib/Paws/EC2/TargetCapacitySpecification.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package Paws::EC2::TargetCapacitySpecification;
2 use Moose;
3 has DefaultTargetCapacityType => (is => 'ro', isa => 'Str', request_name => 'defaultTargetCapacityType', traits => ['NameInRequest']);
4 has OnDemandTargetCapacity => (is => 'ro', isa => 'Int', request_name => 'onDemandTargetCapacity', traits => ['NameInRequest']);
5 has SpotTargetCapacity => (is => 'ro', isa => 'Int', request_name => 'spotTargetCapacity', traits => ['NameInRequest']);
6 has TotalTargetCapacity => (is => 'ro', isa => 'Int', request_name => 'totalTargetCapacity', traits => ['NameInRequest']);
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::EC2::TargetCapacitySpecification
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::EC2::TargetCapacitySpecification object:
25  
26 $service_obj->Method(Att1 => { DefaultTargetCapacityType => $value, ..., TotalTargetCapacity => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::TargetCapacitySpecification object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->DefaultTargetCapacityType
34  
35 =head1 DESCRIPTION
36  
37 This class has no description
38  
39 =head1 ATTRIBUTES
40  
41  
42 =head2 DefaultTargetCapacityType => Str
43  
44 The default C<TotalTargetCapacity>, which is either C<Spot> or
45 C<On-Demand>.
46  
47  
48 =head2 OnDemandTargetCapacity => Int
49  
50 The number of On-Demand units to request. If you specify a target
51 capacity for Spot units, you cannot specify a target capacity for
52 On-Demand units.
53  
54  
55 =head2 SpotTargetCapacity => Int
56  
57 The maximum number of Spot units to launch. If you specify a target
58 capacity for On-Demand units, you cannot specify a target capacity for
59 Spot units.
60  
61  
62 =head2 TotalTargetCapacity => Int
63  
64 The number of units to request, filled using
65 C<DefaultTargetCapacityType>.
66  
67  
68  
69 =head1 SEE ALSO
70  
71 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
72  
73 =head1 BUGS and CONTRIBUTIONS
74  
75 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
76  
77 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
78  
79 =cut