JobFlowInstancesDetail class

Specify the type of Amazon EC2 instances that the cluster (job flow) runs on.

Constructors

JobFlowInstancesDetail({required int instanceCount, required String masterInstanceType, required String slaveInstanceType, String? ec2KeyName, String? ec2SubnetId, String? hadoopVersion, List<InstanceGroupDetail>? instanceGroups, bool? keepJobFlowAliveWhenNoSteps, String? masterInstanceId, String? masterPublicDnsName, int? normalizedInstanceHours, PlacementType? placement, bool? terminationProtected})
JobFlowInstancesDetail.fromJson(Map<String, dynamic> json)
factory

Properties

ec2KeyName String?
The name of an Amazon EC2 key pair that can be used to connect to the master node using SSH.
final
ec2SubnetId String?
For clusters launched within Amazon Virtual Private Cloud, this is the identifier of the subnet where the cluster was launched.
final
hadoopVersion String?
The Hadoop version for the cluster.
final
hashCode int
The hash code for this object.
no setterinherited
instanceCount int
The number of Amazon EC2 instances in the cluster. If the value is 1, the same instance serves as both the master and core and task node. If the value is greater than 1, one instance is the master node and all others are core and task nodes.
final
instanceGroups List<InstanceGroupDetail>?
Details about the instance groups in a cluster.
final
keepJobFlowAliveWhenNoSteps bool?
Specifies whether the cluster should remain available after completing all steps.
final
masterInstanceId String?
The Amazon EC2 instance identifier of the master node.
final
masterInstanceType String
The Amazon EC2 master node instance type.
final
masterPublicDnsName String?
The DNS name of the master node. If the cluster is on a private subnet, this is the private DNS name. On a public subnet, this is the public DNS name.
final
normalizedInstanceHours int?
An approximation of the cost of the cluster, represented in m1.small/hours. This value is increased one time for every hour that an m1.small instance runs. Larger instances are weighted more heavily, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being increased incrementally four times. This result is only an approximation and does not reflect the actual billing rate.
final
placement PlacementType?
The Amazon EC2 Availability Zone for the cluster.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slaveInstanceType String
The Amazon EC2 core and task node instance type.
final
terminationProtected bool?
Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job-flow error.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited