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 String getJobFlowId()
 Constraints:
 Length: 0 - 256
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setJobFlowId(String jobFlowId)
 Constraints:
 Length: 0 - 256
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
jobFlowId - The job flow ID in which the instance groups are added.public AddInstanceGroupsResult withJobFlowId(String jobFlowId)
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 0 - 256
 Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
jobFlowId - The job flow ID in which the instance groups are added.public List<String> getInstanceGroupIds()
public void setInstanceGroupIds(Collection<String> instanceGroupIds)
instanceGroupIds - Instance group IDs of the newly created instance groups.public AddInstanceGroupsResult withInstanceGroupIds(String... instanceGroupIds)
 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.
 
Returns a reference to this object so that method calls can be chained together.
instanceGroupIds - Instance group IDs of the newly created instance groups.public AddInstanceGroupsResult withInstanceGroupIds(Collection<String> instanceGroupIds)
Returns a reference to this object so that method calls can be chained together.
instanceGroupIds - Instance group IDs of the newly created instance groups.public String toString()
toString in class ObjectObject.toString()public AddInstanceGroupsResult clone()
Copyright © 2015. All rights reserved.