public static class ResizeJobFlowStep.AddInstanceGroup extends java.lang.Object implements ResizeJobFlowStep.ResizeAction
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
instanceCount |
private java.lang.String |
instanceGroup |
private java.lang.String |
instanceType |
Constructor and Description |
---|
AddInstanceGroup() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
getArgs() |
ResizeJobFlowStep.AddInstanceGroup |
withInstanceCount(int instanceCount)
Specify the count of the new instance group.
|
ResizeJobFlowStep.AddInstanceGroup |
withInstanceGroup(java.lang.String instanceGroup)
Specify the role of the new instance group (core, task).
|
ResizeJobFlowStep.AddInstanceGroup |
withInstanceType(java.lang.String instanceType)
Specify the instance type to use for this instance group.
|
private java.lang.String instanceGroup
private java.lang.Integer instanceCount
private java.lang.String instanceType
public ResizeJobFlowStep.AddInstanceGroup withInstanceGroup(java.lang.String instanceGroup)
instanceGroup
- New instance group's role.public ResizeJobFlowStep.AddInstanceGroup withInstanceCount(int instanceCount)
instanceCount
- Target instance group size.public ResizeJobFlowStep.AddInstanceGroup withInstanceType(java.lang.String instanceType)
instanceType
- Instance type.public java.util.List<java.lang.String> getArgs()
getArgs
in interface ResizeJobFlowStep.ResizeAction