Class AddJobFlowStepsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.elasticmapreduce.model.AddJobFlowStepsRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class AddJobFlowStepsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input argument to the AddJobFlowSteps operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description AddJobFlowStepsRequest()
Default constructor for AddJobFlowStepsRequest object.AddJobFlowStepsRequest(String jobFlowId)
Constructs a new AddJobFlowStepsRequest object.AddJobFlowStepsRequest(String jobFlowId, List<StepConfig> steps)
Constructs a new AddJobFlowStepsRequest object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddJobFlowStepsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getJobFlowId()
A string that uniquely identifies the job flow.List<StepConfig>
getSteps()
A list of StepConfig to be executed by the job flow.int
hashCode()
void
setJobFlowId(String jobFlowId)
A string that uniquely identifies the job flow.void
setSteps(Collection<StepConfig> steps)
A list of StepConfig to be executed by the job flow.String
toString()
Returns a string representation of this object; useful for testing and debugging.AddJobFlowStepsRequest
withJobFlowId(String jobFlowId)
A string that uniquely identifies the job flow.AddJobFlowStepsRequest
withSteps(StepConfig... steps)
A list of StepConfig to be executed by the job flow.AddJobFlowStepsRequest
withSteps(Collection<StepConfig> steps)
A list of StepConfig to be executed by the job flow.-
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 Detail
-
AddJobFlowStepsRequest
public AddJobFlowStepsRequest()
Default constructor for AddJobFlowStepsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it.
-
AddJobFlowStepsRequest
public AddJobFlowStepsRequest(String jobFlowId)
Constructs a new AddJobFlowStepsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
jobFlowId
- A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters.
-
AddJobFlowStepsRequest
public AddJobFlowStepsRequest(String jobFlowId, List<StepConfig> steps)
Constructs a new AddJobFlowStepsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
jobFlowId
- A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters.steps
- A list of StepConfig to be executed by the job flow.
-
-
Method Detail
-
setJobFlowId
public void setJobFlowId(String jobFlowId)
A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters.
- Parameters:
jobFlowId
- A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters.
-
getJobFlowId
public String getJobFlowId()
A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters.
- Returns:
- A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters.
-
withJobFlowId
public AddJobFlowStepsRequest withJobFlowId(String jobFlowId)
A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters.
- Parameters:
jobFlowId
- A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getSteps
public List<StepConfig> getSteps()
A list of StepConfig to be executed by the job flow.
- Returns:
- A list of StepConfig to be executed by the job flow.
-
setSteps
public void setSteps(Collection<StepConfig> steps)
A list of StepConfig to be executed by the job flow.
- Parameters:
steps
- A list of StepConfig to be executed by the job flow.
-
withSteps
public AddJobFlowStepsRequest withSteps(StepConfig... steps)
A list of StepConfig to be executed by the job flow.
NOTE: This method appends the values to the existing list (if any). Use
setSteps(java.util.Collection)
orwithSteps(java.util.Collection)
if you want to override the existing values.- Parameters:
steps
- A list of StepConfig to be executed by the job flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withSteps
public AddJobFlowStepsRequest withSteps(Collection<StepConfig> steps)
A list of StepConfig to be executed by the job flow.
- Parameters:
steps
- A list of StepConfig to be executed by the job flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public AddJobFlowStepsRequest 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:
Object.clone()
-
-