@Generated(value="software.amazon.awssdk:codegen") public final class JobFlowInstancesDetail extends Object implements StructuredPojo, ToCopyableBuilder<JobFlowInstancesDetail.Builder,JobFlowInstancesDetail>
Specify the type of Amazon EC2 instances that the cluster (job flow) runs on.
Modifier and Type | Class and Description |
---|---|
static interface |
JobFlowInstancesDetail.Builder |
Modifier and Type | Method and Description |
---|---|
static JobFlowInstancesDetail.Builder |
builder() |
String |
ec2KeyName()
The name of an Amazon EC2 key pair that can be used to ssh to the master node.
|
String |
ec2SubnetId()
For clusters launched within Amazon Virtual Private Cloud, this is the identifier of the subnet where the cluster
was launched.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
hadoopVersion()
The Hadoop version for the cluster.
|
int |
hashCode() |
Integer |
instanceCount()
The number of Amazon EC2 instances in the cluster.
|
List<InstanceGroupDetail> |
instanceGroups()
Details about the instance groups in a cluster.
|
Boolean |
keepJobFlowAliveWhenNoSteps()
Specifies whether the cluster should remain available after completing all steps.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
masterInstanceId()
The Amazon EC2 instance identifier of the master node.
|
String |
masterInstanceType()
The Amazon EC2 master node instance type.
|
String |
masterPublicDnsName()
The DNS name of the master node.
|
Integer |
normalizedInstanceHours()
An approximation of the cost of the cluster, represented in m1.small/hours.
|
PlacementType |
placement()
The Amazon EC2 Availability Zone for the cluster.
|
static Class<? extends JobFlowInstancesDetail.Builder> |
serializableBuilderClass() |
String |
slaveInstanceType()
The Amazon EC2 slave node instance type.
|
Boolean |
terminationProtected()
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.
|
JobFlowInstancesDetail.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String masterInstanceType()
The Amazon EC2 master node instance type.
public String masterPublicDnsName()
The DNS name of the master node.
public String masterInstanceId()
The Amazon EC2 instance identifier of the master node.
public String slaveInstanceType()
The Amazon EC2 slave node instance type.
public Integer instanceCount()
The number of Amazon EC2 instances in the cluster. If the value is 1, the same instance serves as both the master and slave node. If the value is greater than 1, one instance is the master node and all others are slave nodes.
public List<InstanceGroupDetail> instanceGroups()
Details about the instance groups in a cluster.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Integer normalizedInstanceHours()
An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour that an m1.small runs. Larger instances are weighted more, so an Amazon EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.
public String ec2KeyName()
The name of an Amazon EC2 key pair that can be used to ssh to the master node.
public String ec2SubnetId()
For clusters launched within Amazon Virtual Private Cloud, this is the identifier of the subnet where the cluster was launched.
public PlacementType placement()
The Amazon EC2 Availability Zone for the cluster.
public Boolean keepJobFlowAliveWhenNoSteps()
Specifies whether the cluster should remain available after completing all steps.
public Boolean terminationProtected()
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.
public String hadoopVersion()
The Hadoop version for the cluster.
public JobFlowInstancesDetail.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<JobFlowInstancesDetail.Builder,JobFlowInstancesDetail>
public static JobFlowInstancesDetail.Builder builder()
public static Class<? extends JobFlowInstancesDetail.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.