ResizeJobFlowStep.ResizeAction
public static class ResizeJobFlowStep.AddInstanceGroup extends Object implements ResizeJobFlowStep.ResizeAction
Constructor | Description |
---|---|
AddInstanceGroup() |
Modifier and Type | Method | Description |
---|---|---|
List<String> |
args() |
|
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> args()
args
in interface ResizeJobFlowStep.ResizeAction
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.