|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticmapreduce.model.JobFlowInstancesDetail
public class JobFlowInstancesDetail
Specify the type of Amazon EC2 instances to run the job flow on.
Constructor Summary | |
---|---|
JobFlowInstancesDetail()
|
Method Summary | |
---|---|
String |
getEc2KeyName()
The name of an Amazon EC2 key pair that can be used to ssh to the master node of job flow. |
String |
getHadoopVersion()
Specifies the Hadoop version for the job flow. |
Integer |
getInstanceCount()
The number of Amazon EC2 instances in the cluster. |
Boolean |
getKeepJobFlowAliveWhenNoSteps()
Specifies whether or not the job flow should terminate after completing all steps. |
String |
getMasterInstanceId()
The Amazon EC2 instance identifier of the master node. |
String |
getMasterInstanceType()
The Amazon EC2 master node instance type. |
String |
getMasterPublicDnsName()
The DNS name of the master node. |
PlacementType |
getPlacement()
Specifies the Amazon EC2 Availability Zone for the job flow. |
String |
getSlaveInstanceType()
The Amazon EC2 slave node instance type. |
Boolean |
isKeepJobFlowAliveWhenNoSteps()
Specifies whether or not the job flow should terminate after completing all steps. |
void |
setEc2KeyName(String ec2KeyName)
The name of an Amazon EC2 key pair that can be used to ssh to the master node of job flow. |
void |
setHadoopVersion(String hadoopVersion)
Specifies the Hadoop version for the job flow. |
void |
setInstanceCount(Integer instanceCount)
The number of Amazon EC2 instances in the cluster. |
void |
setKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
Specifies whether or not the job flow should terminate after completing all steps. |
void |
setMasterInstanceId(String masterInstanceId)
The Amazon EC2 instance identifier of the master node. |
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)
Specifies the Amazon EC2 Availability Zone for the job flow. |
void |
setSlaveInstanceType(String slaveInstanceType)
The Amazon EC2 slave node instance type. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
JobFlowInstancesDetail |
withEc2KeyName(String ec2KeyName)
The name of an Amazon EC2 key pair that can be used to ssh to the master node of job flow. |
JobFlowInstancesDetail |
withHadoopVersion(String hadoopVersion)
Specifies the Hadoop version for the job flow. |
JobFlowInstancesDetail |
withInstanceCount(Integer instanceCount)
The number of Amazon EC2 instances in the cluster. |
JobFlowInstancesDetail |
withKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
Specifies whether or not the job flow should terminate after completing all steps. |
JobFlowInstancesDetail |
withMasterInstanceId(String masterInstanceId)
The Amazon EC2 instance identifier of the master node. |
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)
Specifies the Amazon EC2 Availability Zone for the job flow. |
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 |
---|
public JobFlowInstancesDetail()
Method Detail |
---|
public String getMasterInstanceType()
public void setMasterInstanceType(String masterInstanceType)
masterInstanceType
- The Amazon EC2 master node instance type.public JobFlowInstancesDetail withMasterInstanceType(String masterInstanceType)
Returns a reference to this object so that method calls can be chained together.
masterInstanceType
- The Amazon EC2 master node instance type.
public String getMasterPublicDnsName()
public void setMasterPublicDnsName(String masterPublicDnsName)
masterPublicDnsName
- The DNS name of the master node.public JobFlowInstancesDetail withMasterPublicDnsName(String masterPublicDnsName)
Returns a reference to this object so that method calls can be chained together.
masterPublicDnsName
- The DNS name of the master node.
public String getMasterInstanceId()
public void setMasterInstanceId(String masterInstanceId)
masterInstanceId
- The Amazon EC2 instance identifier of the master node.public JobFlowInstancesDetail withMasterInstanceId(String masterInstanceId)
Returns a reference to this object so that method calls can be chained together.
masterInstanceId
- The Amazon EC2 instance identifier of the master node.
public String getSlaveInstanceType()
public void setSlaveInstanceType(String slaveInstanceType)
slaveInstanceType
- The Amazon EC2 slave node instance type.public JobFlowInstancesDetail withSlaveInstanceType(String slaveInstanceType)
Returns a reference to this object so that method calls can be chained together.
slaveInstanceType
- The Amazon EC2 slave node instance type.
public Integer getInstanceCount()
public void setInstanceCount(Integer instanceCount)
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.public JobFlowInstancesDetail withInstanceCount(Integer instanceCount)
Returns a reference to this object so that method calls can be chained together.
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.
public String getEc2KeyName()
public void setEc2KeyName(String ec2KeyName)
ec2KeyName
- The name of an Amazon EC2 key pair that can be used to ssh to the
master node of job flow.public JobFlowInstancesDetail withEc2KeyName(String ec2KeyName)
Returns a reference to this object so that method calls can be chained together.
ec2KeyName
- The name of an Amazon EC2 key pair that can be used to ssh to the
master node of job flow.
public PlacementType getPlacement()
public void setPlacement(PlacementType placement)
placement
- Specifies the Amazon EC2 Availability Zone for the job flow.public JobFlowInstancesDetail withPlacement(PlacementType placement)
Returns a reference to this object so that method calls can be chained together.
placement
- Specifies the Amazon EC2 Availability Zone for the job flow.
public Boolean isKeepJobFlowAliveWhenNoSteps()
public void setKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
keepJobFlowAliveWhenNoSteps
- Specifies whether or not the job flow should terminate after
completing all steps.public JobFlowInstancesDetail withKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
Returns a reference to this object so that method calls can be chained together.
keepJobFlowAliveWhenNoSteps
- Specifies whether or not 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 JobFlowInstancesDetail 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
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |