CopyableBuilder<JobFlowInstancesDetail.Builder,JobFlowInstancesDetail>
, SdkBuilder<JobFlowInstancesDetail.Builder,JobFlowInstancesDetail>
public static interface JobFlowInstancesDetail.Builder extends CopyableBuilder<JobFlowInstancesDetail.Builder,JobFlowInstancesDetail>
Modifier and Type | Method | Description |
---|---|---|
JobFlowInstancesDetail.Builder |
ec2KeyName(String ec2KeyName) |
The name of an Amazon EC2 key pair that can be used to ssh to the master node.
|
JobFlowInstancesDetail.Builder |
ec2SubnetId(String ec2SubnetId) |
For clusters launched within Amazon Virtual Private Cloud, this is the identifier of the subnet where the
cluster was launched.
|
JobFlowInstancesDetail.Builder |
hadoopVersion(String hadoopVersion) |
The Hadoop version for the cluster.
|
JobFlowInstancesDetail.Builder |
instanceCount(Integer instanceCount) |
The number of Amazon EC2 instances in the cluster.
|
JobFlowInstancesDetail.Builder |
instanceGroups(Collection<InstanceGroupDetail> instanceGroups) |
Details about the instance groups in a cluster.
|
JobFlowInstancesDetail.Builder |
instanceGroups(InstanceGroupDetail... instanceGroups) |
Details about the instance groups in a cluster.
|
JobFlowInstancesDetail.Builder |
keepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps) |
Specifies whether the cluster should remain available after completing all steps.
|
JobFlowInstancesDetail.Builder |
masterInstanceId(String masterInstanceId) |
The Amazon EC2 instance identifier of the master node.
|
JobFlowInstancesDetail.Builder |
masterInstanceType(String masterInstanceType) |
The Amazon EC2 master node instance type.
|
JobFlowInstancesDetail.Builder |
masterPublicDnsName(String masterPublicDnsName) |
The DNS name of the master node.
|
JobFlowInstancesDetail.Builder |
normalizedInstanceHours(Integer normalizedInstanceHours) |
An approximation of the cost of the cluster, represented in m1.small/hours.
|
JobFlowInstancesDetail.Builder |
placement(PlacementType placement) |
The Amazon EC2 Availability Zone for the cluster.
|
JobFlowInstancesDetail.Builder |
slaveInstanceType(String slaveInstanceType) |
The Amazon EC2 slave node instance type.
|
JobFlowInstancesDetail.Builder |
terminationProtected(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.
|
copy
apply, build
JobFlowInstancesDetail.Builder masterInstanceType(String masterInstanceType)
The Amazon EC2 master node instance type.
masterInstanceType
- The Amazon EC2 master node instance type.JobFlowInstancesDetail.Builder masterPublicDnsName(String masterPublicDnsName)
The DNS name of the master node.
masterPublicDnsName
- The DNS name of the master node.JobFlowInstancesDetail.Builder masterInstanceId(String masterInstanceId)
The Amazon EC2 instance identifier of the master node.
masterInstanceId
- The Amazon EC2 instance identifier of the master node.JobFlowInstancesDetail.Builder slaveInstanceType(String slaveInstanceType)
The Amazon EC2 slave node instance type.
slaveInstanceType
- The Amazon EC2 slave node instance type.JobFlowInstancesDetail.Builder instanceCount(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.
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.JobFlowInstancesDetail.Builder instanceGroups(Collection<InstanceGroupDetail> instanceGroups)
Details about the instance groups in a cluster.
instanceGroups
- Details about the instance groups in a cluster.JobFlowInstancesDetail.Builder instanceGroups(InstanceGroupDetail... instanceGroups)
Details about the instance groups in a cluster.
NOTE: This method appends the values to the existing list (if any). Use
#setInstanceGroups(java.util.Collection)
or #withInstanceGroups(java.util.Collection)
if you
want to override the existing values.
instanceGroups
- Details about the instance groups in a cluster.JobFlowInstancesDetail.Builder normalizedInstanceHours(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.
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.JobFlowInstancesDetail.Builder ec2KeyName(String ec2KeyName)
The name of an Amazon EC2 key pair that can be used to ssh to the master node.
ec2KeyName
- The name of an Amazon EC2 key pair that can be used to ssh to the master node.JobFlowInstancesDetail.Builder ec2SubnetId(String ec2SubnetId)
For clusters launched within Amazon Virtual Private Cloud, this is the identifier of the subnet where the cluster was launched.
ec2SubnetId
- For clusters launched within Amazon Virtual Private Cloud, this is the identifier of the subnet where
the cluster was launched.JobFlowInstancesDetail.Builder placement(PlacementType placement)
The Amazon EC2 Availability Zone for the cluster.
placement
- The Amazon EC2 Availability Zone for the cluster.JobFlowInstancesDetail.Builder keepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
Specifies whether the cluster should remain available after completing all steps.
keepJobFlowAliveWhenNoSteps
- Specifies whether the cluster should remain available after completing all steps.JobFlowInstancesDetail.Builder terminationProtected(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.
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 hadoopVersion(String hadoopVersion)
The Hadoop version for the cluster.
hadoopVersion
- The Hadoop version for the cluster.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.