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

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 17 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::JobFlowInstancesDetail;
3 use Moose;
4 has Ec2KeyName => (is => 'ro', isa => 'Str');
5 has Ec2SubnetId => (is => 'ro', isa => 'Str');
6 has HadoopVersion => (is => 'ro', isa => 'Str');
7 has InstanceCount => (is => 'ro', isa => 'Int', required => 1);
8 has InstanceGroups => (is => 'ro', isa => 'ArrayRef[Paws::EMR::InstanceGroupDetail]');
9 has KeepJobFlowAliveWhenNoSteps => (is => 'ro', isa => 'Bool');
10 has MasterInstanceId => (is => 'ro', isa => 'Str');
11 has MasterInstanceType => (is => 'ro', isa => 'Str', required => 1);
12 has MasterPublicDnsName => (is => 'ro', isa => 'Str');
13 has NormalizedInstanceHours => (is => 'ro', isa => 'Int');
14 has Placement => (is => 'ro', isa => 'Paws::EMR::PlacementType');
15 has SlaveInstanceType => (is => 'ro', isa => 'Str', required => 1);
16 has TerminationProtected => (is => 'ro', isa => 'Bool');
17  
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::EMR::JobFlowInstancesDetail
25  
26 =head1 USAGE
27  
28 This class represents one of two things:
29  
30 =head3 Arguments in a call to a service
31  
32 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
33 Each attribute should be used as a named argument in the calls that expect this type of object.
34  
35 As an example, if Att1 is expected to be a Paws::EMR::JobFlowInstancesDetail object:
36  
37 $service_obj->Method(Att1 => { Ec2KeyName => $value, ..., TerminationProtected => $value });
38  
39 =head3 Results returned from an API call
40  
41 Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::JobFlowInstancesDetail object:
42  
43 $result = $service_obj->Method(...);
44 $result->Att1->Ec2KeyName
45  
46 =head1 DESCRIPTION
47  
48 Specify the type of Amazon EC2 instances that the cluster (job flow)
49 runs on.
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 Ec2KeyName => Str
55  
56 The name of an Amazon EC2 key pair that can be used to connect to the
57 master node using SSH.
58  
59  
60 =head2 Ec2SubnetId => Str
61  
62 For clusters launched within Amazon Virtual Private Cloud, this is the
63 identifier of the subnet where the cluster was launched.
64  
65  
66 =head2 HadoopVersion => Str
67  
68 The Hadoop version for the cluster.
69  
70  
71 =head2 B<REQUIRED> InstanceCount => Int
72  
73 The number of Amazon EC2 instances in the cluster. If the value is 1,
74 the same instance serves as both the master and core and task node. If
75 the value is greater than 1, one instance is the master node and all
76 others are core and task nodes.
77  
78  
79 =head2 InstanceGroups => ArrayRef[L<Paws::EMR::InstanceGroupDetail>]
80  
81 Details about the instance groups in a cluster.
82  
83  
84 =head2 KeepJobFlowAliveWhenNoSteps => Bool
85  
86 Specifies whether the cluster should remain available after completing
87 all steps.
88  
89  
90 =head2 MasterInstanceId => Str
91  
92 The Amazon EC2 instance identifier of the master node.
93  
94  
95 =head2 B<REQUIRED> MasterInstanceType => Str
96  
97 The Amazon EC2 master node instance type.
98  
99  
100 =head2 MasterPublicDnsName => Str
101  
102 The DNS name of the master node. If the cluster is on a private subnet,
103 this is the private DNS name. On a public subnet, this is the public
104 DNS name.
105  
106  
107 =head2 NormalizedInstanceHours => Int
108  
109 An approximation of the cost of the cluster, represented in
110 m1.small/hours. This value is increased one time for every hour that an
111 m1.small instance runs. Larger instances are weighted more heavily, so
112 an Amazon EC2 instance that is roughly four times more expensive would
113 result in the normalized instance hours being increased incrementally
114 four times. This result is only an approximation and does not reflect
115 the actual billing rate.
116  
117  
118 =head2 Placement => L<Paws::EMR::PlacementType>
119  
120 The Amazon EC2 Availability Zone for the cluster.
121  
122  
123 =head2 B<REQUIRED> SlaveInstanceType => Str
124  
125 The Amazon EC2 core and task node instance type.
126  
127  
128 =head2 TerminationProtected => Bool
129  
130 Specifies whether the Amazon EC2 instances in the cluster are protected
131 from termination by API calls, user intervention, or in the event of a
132 job-flow error.
133  
134  
135  
136 =head1 SEE ALSO
137  
138 This class forms part of L<Paws>, describing an object used in L<Paws::EMR>
139  
140 =head1 BUGS and CONTRIBUTIONS
141  
142 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
143  
144 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
145  
146 =cut
147