Did this page help you?

   Yes   No   Tell us about it...

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

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

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

Class representing a change to an existing instance group.


Constructor Summary
ResizeJobFlowStep.ModifyInstanceGroup()
           
 
Method Summary
 List<String> getArgs()
           
 ResizeJobFlowStep.ModifyInstanceGroup withInstanceCount(Integer instanceCount)
          Specify the new size of the instance group.
 ResizeJobFlowStep.ModifyInstanceGroup withInstanceGroup(String instanceGroup)
          Set the identification for the instance group to modify.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResizeJobFlowStep.ModifyInstanceGroup

public ResizeJobFlowStep.ModifyInstanceGroup()
Method Detail

withInstanceGroup

public ResizeJobFlowStep.ModifyInstanceGroup withInstanceGroup(String instanceGroup)
Set the identification for the instance group to modify. You can specify either core or task if there is only one instance group of that role. Otherwise you can specify the instance group ID (such as ig-ABABABABABAB).

Parameters:
instanceGroup - Identifier for the instance group.
Returns:
A reference to this updated object so that method calls can be chained together.

withInstanceCount

public ResizeJobFlowStep.ModifyInstanceGroup withInstanceCount(Integer instanceCount)
Specify the new size of the instance group.

Parameters:
instanceCount - Target size of the instance group.
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.