Class AddInstanceGroupsResult
- java.lang.Object
-
- com.amazonaws.services.elasticmapreduce.model.AddInstanceGroupsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class AddInstanceGroupsResult extends Object implements Serializable, Cloneable
Output from an AddInstanceGroups call.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AddInstanceGroupsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddInstanceGroupsResultclone()booleanequals(Object obj)List<String>getInstanceGroupIds()Instance group IDs of the newly created instance groups.StringgetJobFlowId()The job flow ID in which the instance groups are added.inthashCode()voidsetInstanceGroupIds(Collection<String> instanceGroupIds)Instance group IDs of the newly created instance groups.voidsetJobFlowId(String jobFlowId)The job flow ID in which the instance groups are added.StringtoString()Returns a string representation of this object; useful for testing and debugging.AddInstanceGroupsResultwithInstanceGroupIds(String... instanceGroupIds)Instance group IDs of the newly created instance groups.AddInstanceGroupsResultwithInstanceGroupIds(Collection<String> instanceGroupIds)Instance group IDs of the newly created instance groups.AddInstanceGroupsResultwithJobFlowId(String jobFlowId)The job flow ID in which the instance groups are added.
-
-
-
Method Detail
-
setJobFlowId
public void setJobFlowId(String jobFlowId)
The job flow ID in which the instance groups are added.
- Parameters:
jobFlowId- The job flow ID in which the instance groups are added.
-
getJobFlowId
public String getJobFlowId()
The job flow ID in which the instance groups are added.
- Returns:
- The job flow ID in which the instance groups are added.
-
withJobFlowId
public AddInstanceGroupsResult withJobFlowId(String jobFlowId)
The job flow ID in which the instance groups are added.
- Parameters:
jobFlowId- The job flow ID in which the instance groups are added.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getInstanceGroupIds
public List<String> getInstanceGroupIds()
Instance group IDs of the newly created instance groups.
- Returns:
- Instance group IDs of the newly created instance groups.
-
setInstanceGroupIds
public void setInstanceGroupIds(Collection<String> instanceGroupIds)
Instance group IDs of the newly created instance groups.
- Parameters:
instanceGroupIds- Instance group IDs of the newly created instance groups.
-
withInstanceGroupIds
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)orwithInstanceGroupIds(java.util.Collection)if you want to override the existing values.- Parameters:
instanceGroupIds- Instance group IDs of the newly created instance groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withInstanceGroupIds
public AddInstanceGroupsResult withInstanceGroupIds(Collection<String> instanceGroupIds)
Instance group IDs of the newly created instance groups.
- Parameters:
instanceGroupIds- Instance group IDs of the newly created instance groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AddInstanceGroupsResult clone()
-
-