public class AddJobFlowStepsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
The input argument to the AddJobFlowSteps operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
jobFlowId
A string that uniquely identifies the job flow.
|
private SdkInternalList<StepConfig> |
steps
A list of StepConfig to be executed by the job flow.
|
NOOP
Constructor and Description |
---|
AddJobFlowStepsRequest()
Default constructor for AddJobFlowStepsRequest object.
|
AddJobFlowStepsRequest(java.lang.String jobFlowId)
Constructs a new AddJobFlowStepsRequest object.
|
AddJobFlowStepsRequest(java.lang.String jobFlowId,
java.util.List<StepConfig> steps)
Constructs a new AddJobFlowStepsRequest object.
|
Modifier and Type | Method and Description |
---|---|
AddJobFlowStepsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getJobFlowId()
A string that uniquely identifies the job flow.
|
java.util.List<StepConfig> |
getSteps()
A list of StepConfig to be executed by the job flow.
|
int |
hashCode() |
void |
setJobFlowId(java.lang.String jobFlowId)
A string that uniquely identifies the job flow.
|
void |
setSteps(java.util.Collection<StepConfig> steps)
A list of StepConfig to be executed by the job flow.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AddJobFlowStepsRequest |
withJobFlowId(java.lang.String jobFlowId)
A string that uniquely identifies the job flow.
|
AddJobFlowStepsRequest |
withSteps(java.util.Collection<StepConfig> steps)
A list of StepConfig to be executed by the job flow.
|
AddJobFlowStepsRequest |
withSteps(StepConfig... steps)
A list of StepConfig to be executed by the job flow.
|
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
private java.lang.String jobFlowId
A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters.
private SdkInternalList<StepConfig> steps
A list of StepConfig to be executed by the job flow.
public AddJobFlowStepsRequest()
public AddJobFlowStepsRequest(java.lang.String jobFlowId)
jobFlowId
- A string that uniquely identifies the job flow. This identifier is
returned by RunJobFlow and can also be obtained from
ListClusters.public AddJobFlowStepsRequest(java.lang.String jobFlowId, java.util.List<StepConfig> steps)
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.public void setJobFlowId(java.lang.String jobFlowId)
A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters.
jobFlowId
- A string that uniquely identifies the job flow. This identifier is
returned by RunJobFlow and can also be obtained from
ListClusters.public java.lang.String getJobFlowId()
A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters.
public AddJobFlowStepsRequest withJobFlowId(java.lang.String jobFlowId)
A string that uniquely identifies the job flow. This identifier is returned by RunJobFlow and can also be obtained from ListClusters.
jobFlowId
- A string that uniquely identifies the job flow. This identifier is
returned by RunJobFlow and can also be obtained from
ListClusters.public java.util.List<StepConfig> getSteps()
A list of StepConfig to be executed by the job flow.
public void setSteps(java.util.Collection<StepConfig> steps)
A list of StepConfig to be executed by the job flow.
steps
- A list of StepConfig to be executed by the job flow.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)
or
withSteps(java.util.Collection)
if you want to override the
existing values.
steps
- A list of StepConfig to be executed by the job flow.public AddJobFlowStepsRequest withSteps(java.util.Collection<StepConfig> steps)
A list of StepConfig to be executed by the job flow.
steps
- A list of StepConfig to be executed by the job flow.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AddJobFlowStepsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()