public class AddInstanceGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
AddInstanceGroups operation
.
AddInstanceGroups adds an instance group to a running cluster.
NOOP
Constructor and Description |
---|
AddInstanceGroupsRequest()
Default constructor for a new AddInstanceGroupsRequest object.
|
AddInstanceGroupsRequest(List<InstanceGroupConfig> instanceGroups,
String jobFlowId)
Constructs a new AddInstanceGroupsRequest object.
|
Modifier and Type | Method and Description |
---|---|
AddInstanceGroupsRequest |
clone() |
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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public AddInstanceGroupsRequest()
public AddInstanceGroupsRequest(List<InstanceGroupConfig> instanceGroups, String jobFlowId)
instanceGroups
- Instance Groups to add.jobFlowId
- Job flow in which to add the instance groups.public List<InstanceGroupConfig> getInstanceGroups()
public void setInstanceGroups(Collection<InstanceGroupConfig> instanceGroups)
instanceGroups
- Instance Groups to add.public AddInstanceGroupsRequest withInstanceGroups(InstanceGroupConfig... instanceGroups)
NOTE: This method appends the values to the existing list (if
any). Use setInstanceGroups(java.util.Collection)
or withInstanceGroups(java.util.Collection)
if you want to override the
existing values.
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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
public void setJobFlowId(String jobFlowId)
Constraints:
Length: 0 - 256
Pattern: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\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: [\u0020-\uD7FF\uE000-\uFFFD\uD800\uDC00-\uDBFF\uDFFF\r\n\t]*
jobFlowId
- Job flow in which to add the instance groups.public String toString()
toString
in class Object
Object.toString()
public AddInstanceGroupsRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.