|
|||||||
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)
Constructor Summary | |
---|---|
AddInstanceGroupsRequest()
Default constructor for a new AddInstanceGroupsRequest object. |
|
AddInstanceGroupsRequest(java.util.List<InstanceGroupConfig> instanceGroups,
java.lang.String jobFlowId)
Constructs a new AddInstanceGroupsRequest object. |
Method Summary | |
---|---|
java.util.List<InstanceGroupConfig> |
getInstanceGroups()
Instance Groups to add. |
java.lang.String |
getJobFlowId()
Job flow in which to add the instance groups. |
void |
setInstanceGroups(java.util.Collection<InstanceGroupConfig> instanceGroups)
Instance Groups to add. |
void |
setJobFlowId(java.lang.String jobFlowId)
Job flow in which to add the instance groups. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
AddInstanceGroupsRequest |
withInstanceGroups(java.util.Collection<InstanceGroupConfig> instanceGroups)
Instance Groups to add. |
AddInstanceGroupsRequest |
withInstanceGroups(InstanceGroupConfig... instanceGroups)
Instance Groups to add. |
AddInstanceGroupsRequest |
withJobFlowId(java.lang.String jobFlowId)
Job flow in which to add the instance groups. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AddInstanceGroupsRequest()
public AddInstanceGroupsRequest(java.util.List<InstanceGroupConfig> instanceGroups, java.lang.String jobFlowId)
instanceGroups
- Instance Groups to add.jobFlowId
- Job flow in which to add the instance groups.Method Detail |
---|
public java.util.List<InstanceGroupConfig> getInstanceGroups()
public void setInstanceGroups(java.util.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(java.util.Collection<InstanceGroupConfig> instanceGroups)
Returns a reference to this object so that method calls can be chained together.
instanceGroups
- Instance Groups to add.
public java.lang.String getJobFlowId()
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
public void setJobFlowId(java.lang.String jobFlowId)
Constraints:
Length: 0 - 256
Pattern: [ -??-??-?\r\n\t]*
jobFlowId
- Job flow in which to add the instance groups.public AddInstanceGroupsRequest withJobFlowId(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |