Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elasticmapreduce.util
Class ResizeJobFlowStep.AddInstanceGroup

java.lang.Object
  extended by com.amazonaws.services.elasticmapreduce.util.ResizeJobFlowStep.AddInstanceGroup
All Implemented Interfaces:
ResizeJobFlowStep.ResizeAction
Enclosing class:
ResizeJobFlowStep

public static class ResizeJobFlowStep.AddInstanceGroup
extends Object
implements ResizeJobFlowStep.ResizeAction

Class representing creating a new instance group.


Constructor Summary
ResizeJobFlowStep.AddInstanceGroup()
           
 
Method Summary
 List<String> getArgs()
           
 ResizeJobFlowStep.AddInstanceGroup withInstanceCount(int instanceCount)
          Specify the count of the new instance group.
 ResizeJobFlowStep.AddInstanceGroup withInstanceGroup(String instanceGroup)
          Specify the role of the new instance group (core, task).
 ResizeJobFlowStep.AddInstanceGroup withInstanceType(String instanceType)
          Specify the instance type to use for this instance group.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResizeJobFlowStep.AddInstanceGroup

public ResizeJobFlowStep.AddInstanceGroup()
Method Detail

withInstanceGroup

public ResizeJobFlowStep.AddInstanceGroup withInstanceGroup(String instanceGroup)
Specify the role of the new instance group (core, task).

Parameters:
instanceGroup - New instance group's role.
Returns:
A reference to this updated object so that method calls can be chained together.

withInstanceCount

public ResizeJobFlowStep.AddInstanceGroup withInstanceCount(int instanceCount)
Specify the count of the new instance group.

Parameters:
instanceCount - Target instance group size.
Returns:
A reference to this updated object so that method calls can be chained together.

withInstanceType

public ResizeJobFlowStep.AddInstanceGroup withInstanceType(String instanceType)
Specify the instance type to use for this instance group.

Parameters:
instanceType - Instance type.
Returns:
A reference to this updated object so that method calls can be chained together.

getArgs

public List<String> getArgs()
Specified by:
getArgs in interface ResizeJobFlowStep.ResizeAction


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