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

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 18 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::InstanceGroupDetail;
3 use Moose;
4 has BidPrice => (is => 'ro', isa => 'Str');
5 has CreationDateTime => (is => 'ro', isa => 'Str', required => 1);
6 has EndDateTime => (is => 'ro', isa => 'Str');
7 has InstanceGroupId => (is => 'ro', isa => 'Str');
8 has InstanceRequestCount => (is => 'ro', isa => 'Int', required => 1);
9 has InstanceRole => (is => 'ro', isa => 'Str', required => 1);
10 has InstanceRunningCount => (is => 'ro', isa => 'Int', required => 1);
11 has InstanceType => (is => 'ro', isa => 'Str', required => 1);
12 has LastStateChangeReason => (is => 'ro', isa => 'Str');
13 has Market => (is => 'ro', isa => 'Str', required => 1);
14 has Name => (is => 'ro', isa => 'Str');
15 has ReadyDateTime => (is => 'ro', isa => 'Str');
16 has StartDateTime => (is => 'ro', isa => 'Str');
17 has State => (is => 'ro', isa => 'Str', required => 1);
18  
19 1;
20  
21 ### main pod documentation begin ###
22  
23 =head1 NAME
24  
25 Paws::EMR::InstanceGroupDetail
26  
27 =head1 USAGE
28  
29 This class represents one of two things:
30  
31 =head3 Arguments in a call to a service
32  
33 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
34 Each attribute should be used as a named argument in the calls that expect this type of object.
35  
36 As an example, if Att1 is expected to be a Paws::EMR::InstanceGroupDetail object:
37  
38 $service_obj->Method(Att1 => { BidPrice => $value, ..., State => $value });
39  
40 =head3 Results returned from an API call
41  
42 Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::InstanceGroupDetail object:
43  
44 $result = $service_obj->Method(...);
45 $result->Att1->BidPrice
46  
47 =head1 DESCRIPTION
48  
49 Detailed information about an instance group.
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 BidPrice => Str
55  
56 If specified, indicates that the instance group uses Spot Instances.
57 This is the maximum price you are willing to pay for Spot Instances.
58 Specify C<OnDemandPrice> to set the amount equal to the On-Demand
59 price, or specify an amount in USD.
60  
61  
62 =head2 B<REQUIRED> CreationDateTime => Str
63  
64 The date/time the instance group was created.
65  
66  
67 =head2 EndDateTime => Str
68  
69 The date/time the instance group was terminated.
70  
71  
72 =head2 InstanceGroupId => Str
73  
74 Unique identifier for the instance group.
75  
76  
77 =head2 B<REQUIRED> InstanceRequestCount => Int
78  
79 Target number of instances to run in the instance group.
80  
81  
82 =head2 B<REQUIRED> InstanceRole => Str
83  
84 Instance group role in the cluster
85  
86  
87 =head2 B<REQUIRED> InstanceRunningCount => Int
88  
89 Actual count of running instances.
90  
91  
92 =head2 B<REQUIRED> InstanceType => Str
93  
94 EC2 instance type.
95  
96  
97 =head2 LastStateChangeReason => Str
98  
99 Details regarding the state of the instance group.
100  
101  
102 =head2 B<REQUIRED> Market => Str
103  
104 Market type of the EC2 instances used to create a cluster node.
105  
106  
107 =head2 Name => Str
108  
109 Friendly name for the instance group.
110  
111  
112 =head2 ReadyDateTime => Str
113  
114 The date/time the instance group was available to the cluster.
115  
116  
117 =head2 StartDateTime => Str
118  
119 The date/time the instance group was started.
120  
121  
122 =head2 B<REQUIRED> State => Str
123  
124 State of instance group. The following values are deprecated: STARTING,
125 TERMINATED, and FAILED.
126  
127  
128  
129 =head1 SEE ALSO
130  
131 This class forms part of L<Paws>, describing an object used in L<Paws::EMR>
132  
133 =head1 BUGS and CONTRIBUTIONS
134  
135 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
136  
137 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
138  
139 =cut
140