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

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package Paws::EC2::TargetCapacitySpecificationRequest;
2 use Moose;
3 has DefaultTargetCapacityType => (is => 'ro', isa => 'Str');
4 has OnDemandTargetCapacity => (is => 'ro', isa => 'Int');
5 has SpotTargetCapacity => (is => 'ro', isa => 'Int');
6 has TotalTargetCapacity => (is => 'ro', isa => 'Int', required => 1);
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::EC2::TargetCapacitySpecificationRequest
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::TargetCapacitySpecificationRequest 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::TargetCapacitySpecificationRequest 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.
51  
52  
53 =head2 SpotTargetCapacity => Int
54  
55 The number of Spot units to request.
56  
57  
58 =head2 B<REQUIRED> TotalTargetCapacity => Int
59  
60 The number of units to request, filled using
61 C<DefaultTargetCapacityType>.
62  
63  
64  
65 =head1 SEE ALSO
66  
67 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
68  
69 =head1 BUGS and CONTRIBUTIONS
70  
71 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
72  
73 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
74  
75 =cut