Class AddJobFlowStepsRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
The input argument to the AddJobFlowSteps operation.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault 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
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
A string that uniquely identifies the job flow.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.toString()
Returns a string representation of this object; useful for testing and debugging.withJobFlowId
(String jobFlowId) A string that uniquely identifies the job flow.withSteps
(StepConfig... steps) A list of StepConfig to be executed by the job flow.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 Details
-
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
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
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 Details
-
setJobFlowId
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
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
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
A list of StepConfig to be executed by the job flow.
- Returns:
- A list of StepConfig to be executed by the job flow.
-
setSteps
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
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
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
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:
-