com.amazonaws.services.elasticmapreduce.model
Class JobFlowInstancesConfig

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

public class JobFlowInstancesConfig
extends Object

Job Flow Instances Config


Constructor Summary
JobFlowInstancesConfig()
           
 
Method Summary
 String getEc2KeyName()
          Returns the value of the Ec2KeyName property for this object.
 Integer getInstanceCount()
          Returns the value of the InstanceCount property for this object.
 Boolean getKeepJobFlowAliveWhenNoSteps()
          Returns the value of the KeepJobFlowAliveWhenNoSteps property for this object.
 String getMasterInstanceType()
          Returns the value of the MasterInstanceType property for this object.
 PlacementType getPlacement()
          Returns the value of the Placement property for this object.
 String getSlaveInstanceType()
          Returns the value of the SlaveInstanceType property for this object.
 Boolean isKeepJobFlowAliveWhenNoSteps()
          Returns the value of the KeepJobFlowAliveWhenNoSteps property for this object.
 void setEc2KeyName(String ec2KeyName)
          Sets the value of the Ec2KeyName property for this object.
 void setInstanceCount(Integer instanceCount)
          Sets the value of the InstanceCount property for this object.
 void setKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
          Sets the value of the KeepJobFlowAliveWhenNoSteps property for this object.
 void setMasterInstanceType(String masterInstanceType)
          Sets the value of the MasterInstanceType property for this object.
 void setPlacement(PlacementType placement)
          Sets the value of the Placement property for this object.
 void setSlaveInstanceType(String slaveInstanceType)
          Sets the value of the SlaveInstanceType property for this object.
 JobFlowInstancesConfig withEc2KeyName(String ec2KeyName)
          Sets the value of the Ec2KeyName property for this object.
 JobFlowInstancesConfig withInstanceCount(Integer instanceCount)
          Sets the value of the InstanceCount property for this object.
 JobFlowInstancesConfig withKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
          Sets the value of the KeepJobFlowAliveWhenNoSteps property for this object.
 JobFlowInstancesConfig withMasterInstanceType(String masterInstanceType)
          Sets the value of the MasterInstanceType property for this object.
 JobFlowInstancesConfig withPlacement(PlacementType placement)
          Sets the value of the Placement property for this object.
 JobFlowInstancesConfig withSlaveInstanceType(String slaveInstanceType)
          Sets the value of the SlaveInstanceType property for this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JobFlowInstancesConfig

public JobFlowInstancesConfig()
Method Detail

getMasterInstanceType

public String getMasterInstanceType()
Returns the value of the MasterInstanceType property for this object.

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

setMasterInstanceType

public void setMasterInstanceType(String masterInstanceType)
Sets the value of the MasterInstanceType property for this object.

Parameters:
masterInstanceType - The new value for the MasterInstanceType property for this object.

withMasterInstanceType

public JobFlowInstancesConfig withMasterInstanceType(String masterInstanceType)
Sets the value of the MasterInstanceType property for this object.

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

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

getSlaveInstanceType

public String getSlaveInstanceType()
Returns the value of the SlaveInstanceType property for this object.

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

setSlaveInstanceType

public void setSlaveInstanceType(String slaveInstanceType)
Sets the value of the SlaveInstanceType property for this object.

Parameters:
slaveInstanceType - The new value for the SlaveInstanceType property for this object.

withSlaveInstanceType

public JobFlowInstancesConfig withSlaveInstanceType(String slaveInstanceType)
Sets the value of the SlaveInstanceType property for this object.

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

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

getInstanceCount

public Integer getInstanceCount()
Returns the value of the InstanceCount property for this object.

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

setInstanceCount

public void setInstanceCount(Integer instanceCount)
Sets the value of the InstanceCount property for this object.

Parameters:
instanceCount - The new value for the InstanceCount property for this object.

withInstanceCount

public JobFlowInstancesConfig withInstanceCount(Integer instanceCount)
Sets the value of the InstanceCount property for this object.

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

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

getEc2KeyName

public String getEc2KeyName()
Returns the value of the Ec2KeyName property for this object.

Constraints:
Length: 1 - 256

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

setEc2KeyName

public void setEc2KeyName(String ec2KeyName)
Sets the value of the Ec2KeyName property for this object.

Constraints:
Length: 1 - 256

Parameters:
ec2KeyName - The new value for the Ec2KeyName property for this object.

withEc2KeyName

public JobFlowInstancesConfig withEc2KeyName(String ec2KeyName)
Sets the value of the Ec2KeyName property for this object.

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

Constraints:
Length: 1 - 256

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

getPlacement

public PlacementType getPlacement()
Returns the value of the Placement property for this object.

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

setPlacement

public void setPlacement(PlacementType placement)
Sets the value of the Placement property for this object.

Parameters:
placement - The new value for the Placement property for this object.

withPlacement

public JobFlowInstancesConfig withPlacement(PlacementType placement)
Sets the value of the Placement property for this object.

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

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

isKeepJobFlowAliveWhenNoSteps

public Boolean isKeepJobFlowAliveWhenNoSteps()
Returns the value of the KeepJobFlowAliveWhenNoSteps property for this object.

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

setKeepJobFlowAliveWhenNoSteps

public void setKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
Sets the value of the KeepJobFlowAliveWhenNoSteps property for this object.

Parameters:
keepJobFlowAliveWhenNoSteps - The new value for the KeepJobFlowAliveWhenNoSteps property for this object.

withKeepJobFlowAliveWhenNoSteps

public JobFlowInstancesConfig withKeepJobFlowAliveWhenNoSteps(Boolean keepJobFlowAliveWhenNoSteps)
Sets the value of the KeepJobFlowAliveWhenNoSteps property for this object.

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

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

getKeepJobFlowAliveWhenNoSteps

public Boolean getKeepJobFlowAliveWhenNoSteps()
Returns the value of the KeepJobFlowAliveWhenNoSteps property for this object.

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


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