com.amazonaws.services.elasticmapreduce.model
Class JobFlowInstancesConfig

java.lang.Object
  extended by com.amazonaws.services.elasticmapreduce.model.JobFlowInstancesConfig

public class JobFlowInstancesConfig
extends Object


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

JobFlowInstancesConfig

public JobFlowInstancesConfig()
Method Detail

getMasterInstanceType

public String getMasterInstanceType()
The EC2 instance type of the master node.

Returns:
The EC2 instance type of the master node.

setMasterInstanceType

public void setMasterInstanceType(String masterInstanceType)
The EC2 instance type of the master node.

Parameters:
masterInstanceType - The EC2 instance type of the master node.

withMasterInstanceType

public JobFlowInstancesConfig withMasterInstanceType(String masterInstanceType)
The EC2 instance type of the master node.

Returns a reference to this object so that method calls can be chained together.

Parameters:
masterInstanceType - The EC2 instance type of the master node.
Returns:
A reference to this updated object so that method calls can be chained together.

getSlaveInstanceType

public String getSlaveInstanceType()
The EC2 instance type of the slave nodes.

Returns:
The EC2 instance type of the slave nodes.

setSlaveInstanceType

public void setSlaveInstanceType(String slaveInstanceType)
The EC2 instance type of the slave nodes.

Parameters:
slaveInstanceType - The EC2 instance type of the slave nodes.

withSlaveInstanceType

public JobFlowInstancesConfig withSlaveInstanceType(String slaveInstanceType)
The EC2 instance type of the slave nodes.

Returns a reference to this object so that method calls can be chained together.

Parameters:
slaveInstanceType - The EC2 instance type of the slave nodes.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceCount

public Integer getInstanceCount()
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.

Returns:
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.

setInstanceCount

public void setInstanceCount(Integer 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.

Parameters:
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.

withInstanceCount

public JobFlowInstancesConfig withInstanceCount(Integer 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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
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.
Returns:
A reference to this updated object so that method calls can be chained together.

getEc2KeyName

public String getEc2KeyName()
A container for the Ec2 key name of the job flow instances config.

Constraints:
Length: 1 - 256

Returns:
A container for the Ec2 key name of the job flow instances config.

setEc2KeyName

public void setEc2KeyName(String ec2KeyName)
A container for the Ec2 key name of the job flow instances config.

Constraints:
Length: 1 - 256

Parameters:
ec2KeyName - A container for the Ec2 key name of the job flow instances config.

withEc2KeyName

public JobFlowInstancesConfig withEc2KeyName(String ec2KeyName)
A container for the Ec2 key name of the job flow instances config.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 256

Parameters:
ec2KeyName - A container for the Ec2 key name of the job flow instances config.
Returns:
A reference to this updated object so that method calls can be chained together.

getPlacement

public PlacementType getPlacement()
A container for the placement type of the job flow instances config.

Returns:
A container for the placement type of the job flow instances config.

setPlacement

public void setPlacement(PlacementType placement)
A container for the placement type of the job flow instances config.

Parameters:
placement - A container for the placement type of the job flow instances config.

withPlacement

public JobFlowInstancesConfig withPlacement(PlacementType placement)
A container for the placement type of the job flow instances config.

Returns a reference to this object so that method calls can be chained together.

Parameters:
placement - A container for the placement type of the job flow instances config.
Returns:
A reference to this updated object so that method calls can be chained together.

isKeepJobFlowAliveWhenNoSteps

public Boolean isKeepJobFlowAliveWhenNoSteps()
Specifies whether (true) or not (false) to keep the EC2 cluster enganged after all steps in the job flow complete.

Returns:
Specifies whether (true) or not (false) to keep the EC2 cluster enganged after all steps in the job flow complete.

setKeepJobFlowAliveWhenNoSteps

public void setKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
Specifies whether (true) or not (false) to keep the EC2 cluster enganged after all steps in the job flow complete.

Parameters:
keepJobFlowAliveWhenNoSteps - Specifies whether (true) or not (false) to keep the EC2 cluster enganged after all steps in the job flow complete.

withKeepJobFlowAliveWhenNoSteps

public JobFlowInstancesConfig withKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
Specifies whether (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.

Parameters:
keepJobFlowAliveWhenNoSteps - Specifies whether (true) or not (false) to keep the EC2 cluster enganged after all steps in the job flow complete.
Returns:
A reference to this updated object so that method calls can be chained together.

getKeepJobFlowAliveWhenNoSteps

public Boolean getKeepJobFlowAliveWhenNoSteps()
Specifies whether (true) or not (false) to keep the EC2 cluster enganged after all steps in the job flow complete.

Returns:
Specifies whether (true) or not (false) to keep the EC2 cluster enganged after all steps in the job flow complete.

getHadoopVersion

public String getHadoopVersion()
Returns the value of the HadoopVersion property for this object.

Returns:
The value of the HadoopVersion property for this object.

setHadoopVersion

public void setHadoopVersion(String hadoopVersion)
Sets the value of the HadoopVersion property for this object.

Parameters:
hadoopVersion - The new value for the HadoopVersion property for this object.

withHadoopVersion

public JobFlowInstancesConfig withHadoopVersion(String hadoopVersion)
Sets the value of the HadoopVersion property for this object.

Returns a reference to this object so that method calls can be chained together.

Parameters:
hadoopVersion - The new value for the HadoopVersion property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.