Class AddInstanceGroupsResult
java.lang.Object
com.amazonaws.services.elasticmapreduce.model.AddInstanceGroupsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Output from an AddInstanceGroups call.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Instance group IDs of the newly created instance groups.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.toString()
Returns a string representation of this object; useful for testing and debugging.withInstanceGroupIds
(String... instanceGroupIds) Instance group IDs of the newly created instance groups.withInstanceGroupIds
(Collection<String> instanceGroupIds) Instance group IDs of the newly created instance groups.withJobFlowId
(String jobFlowId) The job flow ID in which the instance groups are added.
-
Constructor Details
-
AddInstanceGroupsResult
public AddInstanceGroupsResult()
-
-
Method Details
-
setJobFlowId
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
The job flow ID in which the instance groups are added.
- Returns:
- The job flow ID in which the instance groups are added.
-
withJobFlowId
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
Instance group IDs of the newly created instance groups.
- Returns:
- Instance group IDs of the newly created instance groups.
-
setInstanceGroupIds
Instance group IDs of the newly created instance groups.
- Parameters:
instanceGroupIds
- Instance group IDs of the newly created instance groups.
-
withInstanceGroupIds
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-