@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddInstanceGroupsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Output from an AddInstanceGroups call.
Constructor and Description |
---|
AddInstanceGroupsResult() |
Modifier and Type | Method and Description |
---|---|
AddInstanceGroupsResult |
clone() |
boolean |
equals(Object obj) |
String |
getClusterArn()
The Amazon Resource Name of the cluster.
|
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 |
setClusterArn(String clusterArn)
The Amazon Resource Name of the cluster.
|
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.
|
AddInstanceGroupsResult |
withClusterArn(String clusterArn)
The Amazon Resource Name of the cluster.
|
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 void setClusterArn(String clusterArn)
The Amazon Resource Name of the cluster.
clusterArn
- The Amazon Resource Name of the cluster.public String getClusterArn()
The Amazon Resource Name of the cluster.
public AddInstanceGroupsResult withClusterArn(String clusterArn)
The Amazon Resource Name of the cluster.
clusterArn
- The Amazon Resource Name of the cluster.public String toString()
toString
in class Object
Object.toString()
public AddInstanceGroupsResult clone()