File Coverage

blib/lib/Paws/EMR/InstanceGroupDetail.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


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