public static class ResizeJobFlowStep.AddInstanceGroup extends Object implements ResizeJobFlowStep.ResizeAction
Constructor and Description |
---|
AddInstanceGroup() |
Modifier and Type | Method and Description |
---|---|
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.
|
public ResizeJobFlowStep.AddInstanceGroup withInstanceGroup(String instanceGroup)
instanceGroup
- New instance group's role.public ResizeJobFlowStep.AddInstanceGroup withInstanceCount(int instanceCount)
instanceCount
- Target instance group size.public ResizeJobFlowStep.AddInstanceGroup withInstanceType(String instanceType)
instanceType
- Instance type.public List<String> getArgs()
getArgs
in interface ResizeJobFlowStep.ResizeAction
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.