public class AddInstanceGroupsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Output from an AddInstanceGroups call.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
instanceGroupIds
Instance group IDs of the newly created instance groups.
|
private java.lang.String |
jobFlowId
The job flow ID in which the instance groups are added.
|
Constructor and Description |
---|
AddInstanceGroupsResult() |
Modifier and Type | Method and Description |
---|---|
AddInstanceGroupsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getInstanceGroupIds()
Instance group IDs of the newly created instance groups.
|
java.lang.String |
getJobFlowId()
The job flow ID in which the instance groups are added.
|
int |
hashCode() |
void |
setInstanceGroupIds(java.util.Collection<java.lang.String> instanceGroupIds)
Instance group IDs of the newly created instance groups.
|
void |
setJobFlowId(java.lang.String jobFlowId)
The job flow ID in which the instance groups are added.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddInstanceGroupsResult |
withInstanceGroupIds(java.util.Collection<java.lang.String> instanceGroupIds)
Instance group IDs of the newly created instance groups.
|
AddInstanceGroupsResult |
withInstanceGroupIds(java.lang.String... instanceGroupIds)
Instance group IDs of the newly created instance groups.
|
AddInstanceGroupsResult |
withJobFlowId(java.lang.String jobFlowId)
The job flow ID in which the instance groups are added.
|
private java.lang.String jobFlowId
The job flow ID in which the instance groups are added.
private SdkInternalList<java.lang.String> instanceGroupIds
Instance group IDs of the newly created instance groups.
public void setJobFlowId(java.lang.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 java.lang.String getJobFlowId()
The job flow ID in which the instance groups are added.
public AddInstanceGroupsResult withJobFlowId(java.lang.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 java.util.List<java.lang.String> getInstanceGroupIds()
Instance group IDs of the newly created instance groups.
public void setInstanceGroupIds(java.util.Collection<java.lang.String> instanceGroupIds)
Instance group IDs of the newly created instance groups.
instanceGroupIds
- Instance group IDs of the newly created instance groups.public AddInstanceGroupsResult withInstanceGroupIds(java.lang.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(java.util.Collection<java.lang.String> instanceGroupIds)
Instance group IDs of the newly created instance groups.
instanceGroupIds
- Instance group IDs of the newly created instance groups.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AddInstanceGroupsResult clone()
clone
in class java.lang.Object