|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticmapreduce.model.JobFlowInstancesConfig
public class JobFlowInstancesConfig
A description of the Amazon EC2 instance running the job flow.
Constructor Summary | |
---|---|
JobFlowInstancesConfig()
|
Method Summary | |
---|---|
String |
getEc2KeyName()
Specifies the name of the Amazon EC2 key pair that can be used to ssh to the master node as the user called "hadoop." |
String |
getHadoopVersion()
Specifies the Hadoop version for the job flow. |
Integer |
getInstanceCount()
The number of Amazon EC2 instances used to execute the job flow. |
Boolean |
getKeepJobFlowAliveWhenNoSteps()
Specifies whether the job flow should terminate after completing all steps. |
String |
getMasterInstanceType()
The EC2 instance type of the master node. |
PlacementType |
getPlacement()
Specifies the Availability Zone the job flow will run in. |
String |
getSlaveInstanceType()
The EC2 instance type of the slave nodes. |
Boolean |
isKeepJobFlowAliveWhenNoSteps()
Specifies whether the job flow should terminate after completing all steps. |
void |
setEc2KeyName(String ec2KeyName)
Specifies the name of the Amazon EC2 key pair that can be used to ssh to the master node as the user called "hadoop." |
void |
setHadoopVersion(String hadoopVersion)
Specifies the Hadoop version for the job flow. |
void |
setInstanceCount(Integer instanceCount)
The number of Amazon EC2 instances used to execute the job flow. |
void |
setKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
Specifies whether the job flow should terminate after completing all steps. |
void |
setMasterInstanceType(String masterInstanceType)
The EC2 instance type of the master node. |
void |
setPlacement(PlacementType placement)
Specifies the Availability Zone the job flow will run in. |
void |
setSlaveInstanceType(String slaveInstanceType)
The EC2 instance type of the slave nodes. |
String |
toString()
|
JobFlowInstancesConfig |
withEc2KeyName(String ec2KeyName)
Specifies the name of the Amazon EC2 key pair that can be used to ssh to the master node as the user called "hadoop." |
JobFlowInstancesConfig |
withHadoopVersion(String hadoopVersion)
Specifies the Hadoop version for the job flow. |
JobFlowInstancesConfig |
withInstanceCount(Integer instanceCount)
The number of Amazon EC2 instances used to execute the job flow. |
JobFlowInstancesConfig |
withKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
Specifies whether the job flow should terminate after completing all steps. |
JobFlowInstancesConfig |
withMasterInstanceType(String masterInstanceType)
The EC2 instance type of the master node. |
JobFlowInstancesConfig |
withPlacement(PlacementType placement)
Specifies the Availability Zone the job flow will run in. |
JobFlowInstancesConfig |
withSlaveInstanceType(String slaveInstanceType)
The EC2 instance type of the slave nodes. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JobFlowInstancesConfig()
Method Detail |
---|
public String getMasterInstanceType()
public void setMasterInstanceType(String masterInstanceType)
masterInstanceType
- The EC2 instance type of the master node.public JobFlowInstancesConfig withMasterInstanceType(String masterInstanceType)
Returns a reference to this object so that method calls can be chained together.
masterInstanceType
- The EC2 instance type of the master node.
public String getSlaveInstanceType()
public void setSlaveInstanceType(String slaveInstanceType)
slaveInstanceType
- The EC2 instance type of the slave nodes.public JobFlowInstancesConfig withSlaveInstanceType(String slaveInstanceType)
Returns a reference to this object so that method calls can be chained together.
slaveInstanceType
- The EC2 instance type of the slave nodes.
public Integer getInstanceCount()
public void setInstanceCount(Integer instanceCount)
instanceCount
- The number of Amazon EC2 instances used to execute the job flow.public JobFlowInstancesConfig withInstanceCount(Integer instanceCount)
Returns a reference to this object so that method calls can be chained together.
instanceCount
- The number of Amazon EC2 instances used to execute the job flow.
public String getEc2KeyName()
Constraints:
Length: 1 - 256
public void setEc2KeyName(String ec2KeyName)
Constraints:
Length: 1 - 256
ec2KeyName
- Specifies the name of the Amazon EC2 key pair that can be used to ssh
to the master node as the user called "hadoop."public JobFlowInstancesConfig withEc2KeyName(String ec2KeyName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
ec2KeyName
- Specifies the name of the Amazon EC2 key pair that can be used to ssh
to the master node as the user called "hadoop."
public PlacementType getPlacement()
public void setPlacement(PlacementType placement)
placement
- Specifies the Availability Zone the job flow will run in.public JobFlowInstancesConfig withPlacement(PlacementType placement)
Returns a reference to this object so that method calls can be chained together.
placement
- Specifies the Availability Zone the job flow will run in.
public Boolean isKeepJobFlowAliveWhenNoSteps()
public void setKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
keepJobFlowAliveWhenNoSteps
- Specifies whether the job flow should terminate after completing all
steps.public JobFlowInstancesConfig withKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
Returns a reference to this object so that method calls can be chained together.
keepJobFlowAliveWhenNoSteps
- Specifies whether the job flow should terminate after completing all
steps.
public Boolean getKeepJobFlowAliveWhenNoSteps()
public String getHadoopVersion()
public void setHadoopVersion(String hadoopVersion)
hadoopVersion
- Specifies the Hadoop version for the job flow.public JobFlowInstancesConfig withHadoopVersion(String hadoopVersion)
Returns a reference to this object so that method calls can be chained together.
hadoopVersion
- Specifies the Hadoop version for the job flow.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |