com.amazonaws.services.elasticmapreduce.model
Class JobFlowInstancesDetail

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

public class JobFlowInstancesDetail
extends Object


Constructor Summary
JobFlowInstancesDetail()
           
 
Method Summary
 String getEc2KeyName()
          A KeyName that maps to a public key-private key pair, which is required to launch the master node.
 String getHadoopVersion()
          Returns the value of the HadoopVersion property for this object.
 Integer getInstanceCount()
          The number of Amazon EC2 instances in the cluster.
 Boolean getKeepJobFlowAliveWhenNoSteps()
          Specifies whether (true) or not (false) to keep the EC2 cluster engaged after all steps in the job flow complete.
 String getMasterInstanceId()
          The ID that uniquely identifies the master node instance.
 String getMasterInstanceType()
          The Amazon EC2 master node instance type.
 String getMasterPublicDnsName()
          The DNS name of the master node.
 PlacementType getPlacement()
          A container for the placement type of the job flow instance.
 String getSlaveInstanceType()
          The Amazon EC2 slave node instance type.
 Boolean isKeepJobFlowAliveWhenNoSteps()
          Specifies whether (true) or not (false) to keep the EC2 cluster engaged after all steps in the job flow complete.
 void setEc2KeyName(String ec2KeyName)
          A KeyName that maps to a public key-private key pair, which is required to launch the master node.
 void setHadoopVersion(String hadoopVersion)
          Sets the value of the HadoopVersion property for this object.
 void setInstanceCount(Integer instanceCount)
          The number of Amazon EC2 instances in the cluster.
 void setKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
          Specifies whether (true) or not (false) to keep the EC2 cluster engaged after all steps in the job flow complete.
 void setMasterInstanceId(String masterInstanceId)
          The ID that uniquely identifies the master node instance.
 void setMasterInstanceType(String masterInstanceType)
          The Amazon EC2 master node instance type.
 void setMasterPublicDnsName(String masterPublicDnsName)
          The DNS name of the master node.
 void setPlacement(PlacementType placement)
          A container for the placement type of the job flow instance.
 void setSlaveInstanceType(String slaveInstanceType)
          The Amazon EC2 slave node instance type.
 String toString()
           
 JobFlowInstancesDetail withEc2KeyName(String ec2KeyName)
          A KeyName that maps to a public key-private key pair, which is required to launch the master node.
 JobFlowInstancesDetail withHadoopVersion(String hadoopVersion)
          Sets the value of the HadoopVersion property for this object.
 JobFlowInstancesDetail withInstanceCount(Integer instanceCount)
          The number of Amazon EC2 instances in the cluster.
 JobFlowInstancesDetail withKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
          Specifies whether (true) or not (false) to keep the EC2 cluster engaged after all steps in the job flow complete.
 JobFlowInstancesDetail withMasterInstanceId(String masterInstanceId)
          The ID that uniquely identifies the master node instance.
 JobFlowInstancesDetail withMasterInstanceType(String masterInstanceType)
          The Amazon EC2 master node instance type.
 JobFlowInstancesDetail withMasterPublicDnsName(String masterPublicDnsName)
          The DNS name of the master node.
 JobFlowInstancesDetail withPlacement(PlacementType placement)
          A container for the placement type of the job flow instance.
 JobFlowInstancesDetail withSlaveInstanceType(String slaveInstanceType)
          The Amazon EC2 slave node instance type.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JobFlowInstancesDetail

public JobFlowInstancesDetail()
Method Detail

getMasterInstanceType

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

Returns:
The Amazon EC2 master node instance type.

setMasterInstanceType

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

Parameters:
masterInstanceType - The Amazon EC2 master node instance type.

withMasterInstanceType

public JobFlowInstancesDetail withMasterInstanceType(String masterInstanceType)
The Amazon EC2 master node instance type.

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

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

getMasterPublicDnsName

public String getMasterPublicDnsName()
The DNS name of the master node.

Returns:
The DNS name of the master node.

setMasterPublicDnsName

public void setMasterPublicDnsName(String masterPublicDnsName)
The DNS name of the master node.

Parameters:
masterPublicDnsName - The DNS name of the master node.

withMasterPublicDnsName

public JobFlowInstancesDetail withMasterPublicDnsName(String masterPublicDnsName)
The DNS name of the master node.

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

Parameters:
masterPublicDnsName - The DNS name of the master node.
Returns:
A reference to this updated object so that method calls can be chained together.

getMasterInstanceId

public String getMasterInstanceId()
The ID that uniquely identifies the master node instance.

Returns:
The ID that uniquely identifies the master node instance.

setMasterInstanceId

public void setMasterInstanceId(String masterInstanceId)
The ID that uniquely identifies the master node instance.

Parameters:
masterInstanceId - The ID that uniquely identifies the master node instance.

withMasterInstanceId

public JobFlowInstancesDetail withMasterInstanceId(String masterInstanceId)
The ID that uniquely identifies the master node instance.

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

Parameters:
masterInstanceId - The ID that uniquely identifies the master node instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getSlaveInstanceType

public String getSlaveInstanceType()
The Amazon EC2 slave node instance type.

Returns:
The Amazon EC2 slave node instance type.

setSlaveInstanceType

public void setSlaveInstanceType(String slaveInstanceType)
The Amazon EC2 slave node instance type.

Parameters:
slaveInstanceType - The Amazon EC2 slave node instance type.

withSlaveInstanceType

public JobFlowInstancesDetail withSlaveInstanceType(String slaveInstanceType)
The Amazon EC2 slave node instance type.

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

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

getInstanceCount

public Integer getInstanceCount()
The number of Amazon 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 Amazon 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 Amazon 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 Amazon 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 JobFlowInstancesDetail withInstanceCount(Integer instanceCount)
The number of Amazon 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 Amazon 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 KeyName that maps to a public key-private key pair, which is required to launch the master node. The private key is used by SSH to authenticate the tunneling connection between the client and the EC2 master node that was launched using the KeyName.

Returns:
A KeyName that maps to a public key-private key pair, which is required to launch the master node. The private key is used by SSH to authenticate the tunneling connection between the client and the EC2 master node that was launched using the KeyName.

setEc2KeyName

public void setEc2KeyName(String ec2KeyName)
A KeyName that maps to a public key-private key pair, which is required to launch the master node. The private key is used by SSH to authenticate the tunneling connection between the client and the EC2 master node that was launched using the KeyName.

Parameters:
ec2KeyName - A KeyName that maps to a public key-private key pair, which is required to launch the master node. The private key is used by SSH to authenticate the tunneling connection between the client and the EC2 master node that was launched using the KeyName.

withEc2KeyName

public JobFlowInstancesDetail withEc2KeyName(String ec2KeyName)
A KeyName that maps to a public key-private key pair, which is required to launch the master node. The private key is used by SSH to authenticate the tunneling connection between the client and the EC2 master node that was launched using the KeyName.

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

Parameters:
ec2KeyName - A KeyName that maps to a public key-private key pair, which is required to launch the master node. The private key is used by SSH to authenticate the tunneling connection between the client and the EC2 master node that was launched using the KeyName.
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 instance.

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

setPlacement

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

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

withPlacement

public JobFlowInstancesDetail withPlacement(PlacementType placement)
A container for the placement type of the job flow instance.

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 instance.
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 engaged after all steps in the job flow complete.

Returns:
Specifies whether (true) or not (false) to keep the EC2 cluster engaged 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 engaged after all steps in the job flow complete.

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

withKeepJobFlowAliveWhenNoSteps

public JobFlowInstancesDetail withKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
Specifies whether (true) or not (false) to keep the EC2 cluster engaged 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 engaged 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 engaged after all steps in the job flow complete.

Returns:
Specifies whether (true) or not (false) to keep the EC2 cluster engaged 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 JobFlowInstancesDetail 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.