public static interface JobFlowInstancesDetail.Builder extends CopyableBuilder<JobFlowInstancesDetail.Builder,JobFlowInstancesDetail>
Modifier and Type | Method and 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(Consumer<InstanceGroupDetail.Builder>... 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.
|
default JobFlowInstancesDetail.Builder |
placement(Consumer<PlacementType.Builder> placement)
The Amazon EC2 Availability Zone for the cluster.
|
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
applyMutation, 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.
instanceGroups
- Details about the instance groups in a cluster.JobFlowInstancesDetail.Builder instanceGroups(Consumer<InstanceGroupDetail.Builder>... instanceGroups)
Details about the instance groups in a cluster.
This is a convenience that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately
and its result is passed to #instanceGroups(List)
.instanceGroups
- a consumer that will call methods on List.Builder
#instanceGroups(List)
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.default JobFlowInstancesDetail.Builder placement(Consumer<PlacementType.Builder> placement)
The Amazon EC2 Availability Zone for the cluster.
This is a convenience that creates an instance of thePlacementType.Builder
avoiding the need to
create one manually via PlacementType.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to placement(PlacementType)
.placement
- a consumer that will call methods on PlacementType.Builder
placement(PlacementType)
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.