@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddInstanceGroupsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Input to an AddInstanceGroups call.
NOOP
Constructor and Description |
---|
AddInstanceGroupsRequest()
Default constructor for AddInstanceGroupsRequest object.
|
AddInstanceGroupsRequest(List<InstanceGroupConfig> instanceGroups,
String jobFlowId)
Constructs a new AddInstanceGroupsRequest object.
|
Modifier and Type | Method and Description |
---|---|
AddInstanceGroupsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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()
Instance groups to add.
public void setInstanceGroups(Collection<InstanceGroupConfig> instanceGroups)
Instance groups to add.
instanceGroups
- Instance groups to add.public AddInstanceGroupsRequest withInstanceGroups(InstanceGroupConfig... instanceGroups)
Instance groups to add.
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.
instanceGroups
- Instance groups to add.public AddInstanceGroupsRequest withInstanceGroups(Collection<InstanceGroupConfig> instanceGroups)
Instance groups to add.
instanceGroups
- Instance groups to add.public void setJobFlowId(String jobFlowId)
Job flow in which to add the instance groups.
jobFlowId
- Job flow in which to add the instance groups.public String getJobFlowId()
Job flow in which to add the instance groups.
public AddInstanceGroupsRequest withJobFlowId(String jobFlowId)
Job flow in which to add the instance groups.
jobFlowId
- Job flow in which to add the instance groups.public String toString()
toString
in class Object
Object.toString()
public AddInstanceGroupsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.