|
Did this page help you?Yes No Tell us about it... |
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticmapreduce.model.AddInstanceGroupsRequest
public class AddInstanceGroupsRequest
Container for the parameters to the AddInstanceGroups operation.
AddInstanceGroups adds an instance group to a running cluster.
AmazonElasticMapReduce.addInstanceGroups(AddInstanceGroupsRequest),
Serialized Form| Constructor Summary | |
|---|---|
AddInstanceGroupsRequest()
Default constructor for a new AddInstanceGroupsRequest object. |
|
AddInstanceGroupsRequest(List<InstanceGroupConfig> instanceGroups,
String jobFlowId)
Constructs a new AddInstanceGroupsRequest object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
List<InstanceGroupConfig> |
getInstanceGroups()
Instance Groups to add. |
String |
getJobFlowId()
Job flow in which to add the instance groups. |
int |
hashCode()
|
void |
setInstanceGroups(Collection<InstanceGroupConfig> instanceGroups)
Instance Groups to add. |
void |
setJobFlowId(String jobFlowId)
Job flow in which to add the instance groups. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AddInstanceGroupsRequest |
withInstanceGroups(Collection<InstanceGroupConfig> instanceGroups)
Instance Groups to add. |
AddInstanceGroupsRequest |
withInstanceGroups(InstanceGroupConfig... instanceGroups)
Instance Groups to add. |
AddInstanceGroupsRequest |
withJobFlowId(String jobFlowId)
Job flow in which to add the instance groups. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AddInstanceGroupsRequest()
public AddInstanceGroupsRequest(List<InstanceGroupConfig> instanceGroups,
String jobFlowId)
instanceGroups - Instance Groups to add.jobFlowId - Job flow in which to add the instance groups.| Method Detail |
|---|
public List<InstanceGroupConfig> getInstanceGroups()
public void setInstanceGroups(Collection<InstanceGroupConfig> instanceGroups)
instanceGroups - Instance Groups to add.public AddInstanceGroupsRequest withInstanceGroups(InstanceGroupConfig... instanceGroups)
Returns a reference to this object so that method calls can be chained together.
instanceGroups - Instance Groups to add.
public AddInstanceGroupsRequest withInstanceGroups(Collection<InstanceGroupConfig> instanceGroups)
Returns a reference to this object so that method calls can be chained together.
instanceGroups - Instance Groups to add.
public String getJobFlowId()
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
public void setJobFlowId(String jobFlowId)
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
jobFlowId - Job flow in which to add the instance groups.public AddInstanceGroupsRequest withJobFlowId(String jobFlowId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
jobFlowId - Job flow in which to add the instance groups.
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||