public class AddInstanceGroupsResult extends Object implements Serializable, Cloneable
Output from an AddInstanceGroups call.
Constructor and Description |
---|
AddInstanceGroupsResult() |
Modifier and Type | Method and Description |
---|---|
AddInstanceGroupsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getInstanceGroupIds()
Instance group IDs of the newly created instance groups.
|
String |
getJobFlowId()
The job flow ID in which the instance groups are added.
|
int |
hashCode() |
void |
setInstanceGroupIds(Collection<String> instanceGroupIds)
Instance group IDs of the newly created instance groups.
|
void |
setJobFlowId(String jobFlowId)
The job flow ID in which the instance groups are added.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddInstanceGroupsResult |
withInstanceGroupIds(Collection<String> instanceGroupIds)
Instance group IDs of the newly created instance groups.
|
AddInstanceGroupsResult |
withInstanceGroupIds(String... instanceGroupIds)
Instance group IDs of the newly created instance groups.
|
AddInstanceGroupsResult |
withJobFlowId(String jobFlowId)
The job flow ID in which the instance groups are added.
|
public void setJobFlowId(String jobFlowId)
The job flow ID in which the instance groups are added.
jobFlowId
- The job flow ID in which the instance groups are added.public String getJobFlowId()
The job flow ID in which the instance groups are added.
public AddInstanceGroupsResult withJobFlowId(String jobFlowId)
The job flow ID in which the instance groups are added.
jobFlowId
- The job flow ID in which the instance groups are added.public List<String> getInstanceGroupIds()
Instance group IDs of the newly created instance groups.
public void setInstanceGroupIds(Collection<String> instanceGroupIds)
Instance group IDs of the newly created instance groups.
instanceGroupIds
- Instance group IDs of the newly created instance groups.public AddInstanceGroupsResult withInstanceGroupIds(String... instanceGroupIds)
Instance group IDs of the newly created instance groups.
NOTE: This method appends the values to the existing list (if
any). Use setInstanceGroupIds(java.util.Collection)
or
withInstanceGroupIds(java.util.Collection)
if you want to
override the existing values.
instanceGroupIds
- Instance group IDs of the newly created instance groups.public AddInstanceGroupsResult withInstanceGroupIds(Collection<String> instanceGroupIds)
Instance group IDs of the newly created instance groups.
instanceGroupIds
- Instance group IDs of the newly created instance groups.public String toString()
toString
in class Object
Object.toString()
public AddInstanceGroupsResult clone()
Copyright © 2017. All rights reserved.