|
||||||||||
| 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
| Constructor Summary | |
|---|---|
JobFlowInstancesConfig()
|
|
| Method Summary | |
|---|---|
String |
getEc2KeyName()
A container for the Ec2 key name of the job flow instances config. |
String |
getHadoopVersion()
Returns the value of the HadoopVersion property for this object. |
Integer |
getInstanceCount()
The number of EC2 instances in the cluster. |
Boolean |
getKeepJobFlowAliveWhenNoSteps()
Specifies whether ( true) or not (false) to
keep the EC2 cluster enganged after all steps in the job flow
complete. |
String |
getMasterInstanceType()
The EC2 instance type of the master node. |
PlacementType |
getPlacement()
A container for the placement type of the job flow instances config. |
String |
getSlaveInstanceType()
The EC2 instance type of the slave nodes. |
Boolean |
isKeepJobFlowAliveWhenNoSteps()
Specifies whether ( true) or not (false) to
keep the EC2 cluster enganged after all steps in the job flow
complete. |
void |
setEc2KeyName(String ec2KeyName)
A container for the Ec2 key name of the job flow instances config. |
void |
setHadoopVersion(String hadoopVersion)
Sets the value of the HadoopVersion property for this object. |
void |
setInstanceCount(Integer instanceCount)
The number of EC2 instances in the cluster. |
void |
setKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
Specifies whether ( true) or not (false) to
keep the EC2 cluster enganged after all steps in the job flow
complete. |
void |
setMasterInstanceType(String masterInstanceType)
The EC2 instance type of the master node. |
void |
setPlacement(PlacementType placement)
A container for the placement type of the job flow instances config. |
void |
setSlaveInstanceType(String slaveInstanceType)
The EC2 instance type of the slave nodes. |
String |
toString()
|
JobFlowInstancesConfig |
withEc2KeyName(String ec2KeyName)
A container for the Ec2 key name of the job flow instances config. |
JobFlowInstancesConfig |
withHadoopVersion(String hadoopVersion)
Sets the value of the HadoopVersion property for this object. |
JobFlowInstancesConfig |
withInstanceCount(Integer instanceCount)
The number of EC2 instances in the cluster. |
JobFlowInstancesConfig |
withKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
Specifies whether ( true) or not (false) to
keep the EC2 cluster enganged after all steps in the job flow
complete. |
JobFlowInstancesConfig |
withMasterInstanceType(String masterInstanceType)
The EC2 instance type of the master node. |
JobFlowInstancesConfig |
withPlacement(PlacementType placement)
A container for the placement type of the job flow instances config. |
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 EC2 instances in the cluster. If the value is 1, one
instance serves as the master and slave node. If the value is greater
than one, one instance is the master node and the remainder are slave
nodes.public JobFlowInstancesConfig withInstanceCount(Integer instanceCount)
Returns a reference to this object so that method calls can be chained together.
instanceCount - The number of EC2 instances in the cluster. If the value is 1, one
instance serves as the master and slave node. If the value is greater
than one, one instance is the master node and the remainder are slave
nodes.
public String getEc2KeyName()
Constraints:
Length: 1 - 256
public void setEc2KeyName(String ec2KeyName)
Constraints:
Length: 1 - 256
ec2KeyName - A container for the Ec2 key name of the job flow instances config.public JobFlowInstancesConfig withEc2KeyName(String ec2KeyName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
ec2KeyName - A container for the Ec2 key name of the job flow instances config.
public PlacementType getPlacement()
public void setPlacement(PlacementType placement)
placement - A container for the placement type of the job flow instances config.public JobFlowInstancesConfig withPlacement(PlacementType placement)
Returns a reference to this object so that method calls can be chained together.
placement - A container for the placement type of the job flow instances config.
public Boolean isKeepJobFlowAliveWhenNoSteps()
true) or not (false) to
keep the EC2 cluster enganged after all steps in the job flow
complete.
true) or not (false) to
keep the EC2 cluster enganged after all steps in the job flow
complete.public void setKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
true) or not (false) to
keep the EC2 cluster enganged after all steps in the job flow
complete.
keepJobFlowAliveWhenNoSteps - Specifies whether (true) or not (false) to
keep the EC2 cluster enganged after all steps in the job flow
complete.public JobFlowInstancesConfig withKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
true) or not (false) to
keep the EC2 cluster enganged after all steps in the job flow
complete.
Returns a reference to this object so that method calls can be chained together.
keepJobFlowAliveWhenNoSteps - Specifies whether (true) or not (false) to
keep the EC2 cluster enganged after all steps in the job flow
complete.
public Boolean getKeepJobFlowAliveWhenNoSteps()
true) or not (false) to
keep the EC2 cluster enganged after all steps in the job flow
complete.
true) or not (false) to
keep the EC2 cluster enganged after all steps in the job flow
complete.public String getHadoopVersion()
public void setHadoopVersion(String hadoopVersion)
hadoopVersion - The new value for the HadoopVersion property for this object.public JobFlowInstancesConfig withHadoopVersion(String hadoopVersion)
Returns a reference to this object so that method calls can be chained together.
hadoopVersion - The new value for the HadoopVersion property for this object.
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||