Class AddInstanceGroupsRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.elasticmapreduce.model.AddInstanceGroupsRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class AddInstanceGroupsRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
Input to an AddInstanceGroups call.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for AddInstanceGroupsRequest object.AddInstanceGroupsRequest
(List<InstanceGroupConfig> instanceGroups, String jobFlowId) Constructs a new AddInstanceGroupsRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Instance Groups to add.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.toString()
Returns a string representation of this object; useful for testing and debugging.withInstanceGroups
(InstanceGroupConfig... instanceGroups) Instance Groups to add.withInstanceGroups
(Collection<InstanceGroupConfig> instanceGroups) Instance Groups to add.withJobFlowId
(String jobFlowId) Job flow in which to add the instance groups.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
AddInstanceGroupsRequest
public AddInstanceGroupsRequest()Default constructor for AddInstanceGroupsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
AddInstanceGroupsRequest
Constructs a new AddInstanceGroupsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
instanceGroups
- Instance Groups to add.jobFlowId
- Job flow in which to add the instance groups.
-
-
Method Details
-
getInstanceGroups
Instance Groups to add.
- Returns:
- Instance Groups to add.
-
setInstanceGroups
Instance Groups to add.
- Parameters:
instanceGroups
- Instance Groups to add.
-
withInstanceGroups
Instance Groups to add.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceGroups(java.util.Collection)
orwithInstanceGroups(java.util.Collection)
if you want to override the existing values.- Parameters:
instanceGroups
- Instance Groups to add.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withInstanceGroups
Instance Groups to add.
- Parameters:
instanceGroups
- Instance Groups to add.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setJobFlowId
Job flow in which to add the instance groups.
- Parameters:
jobFlowId
- Job flow in which to add the instance groups.
-
getJobFlowId
Job flow in which to add the instance groups.
- Returns:
- Job flow in which to add the instance groups.
-
withJobFlowId
Job flow in which to add the instance groups.
- Parameters:
jobFlowId
- Job flow in which to add the instance groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-