@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StepExecution extends Object implements Serializable, Cloneable, StructuredPojo
Detailed information about an the execution state of an Automation step.
Constructor and Description |
---|
StepExecution() |
Modifier and Type | Method and Description |
---|---|
StepExecution |
addInputsEntry(String key,
String value) |
StepExecution |
addOutputsEntry(String key,
List<String> value) |
StepExecution |
clearInputsEntries()
Removes all the entries added into Inputs.
|
StepExecution |
clearOutputsEntries()
Removes all the entries added into Outputs.
|
StepExecution |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action this step performs.
|
Date |
getExecutionEndTime()
If a step has finished execution, this contains the time the execution ended.
|
Date |
getExecutionStartTime()
If a step has begun execution, this contains the time the step started.
|
FailureDetails |
getFailureDetails()
Information about the Automation failure.
|
String |
getFailureMessage()
If a step failed, this message explains why the execution failed.
|
Map<String,String> |
getInputs()
Fully-resolved values passed into the step before execution.
|
Map<String,List<String>> |
getOutputs()
Returned values from the execution of the step.
|
String |
getResponse()
A message associated with the response code for an execution.
|
String |
getResponseCode()
The response code returned by the execution of the step.
|
String |
getStepName()
The name of this execution step.
|
String |
getStepStatus()
The execution status for this step.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(String action)
The action this step performs.
|
void |
setExecutionEndTime(Date executionEndTime)
If a step has finished execution, this contains the time the execution ended.
|
void |
setExecutionStartTime(Date executionStartTime)
If a step has begun execution, this contains the time the step started.
|
void |
setFailureDetails(FailureDetails failureDetails)
Information about the Automation failure.
|
void |
setFailureMessage(String failureMessage)
If a step failed, this message explains why the execution failed.
|
void |
setInputs(Map<String,String> inputs)
Fully-resolved values passed into the step before execution.
|
void |
setOutputs(Map<String,List<String>> outputs)
Returned values from the execution of the step.
|
void |
setResponse(String response)
A message associated with the response code for an execution.
|
void |
setResponseCode(String responseCode)
The response code returned by the execution of the step.
|
void |
setStepName(String stepName)
The name of this execution step.
|
void |
setStepStatus(AutomationExecutionStatus stepStatus)
The execution status for this step.
|
void |
setStepStatus(String stepStatus)
The execution status for this step.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
StepExecution |
withAction(String action)
The action this step performs.
|
StepExecution |
withExecutionEndTime(Date executionEndTime)
If a step has finished execution, this contains the time the execution ended.
|
StepExecution |
withExecutionStartTime(Date executionStartTime)
If a step has begun execution, this contains the time the step started.
|
StepExecution |
withFailureDetails(FailureDetails failureDetails)
Information about the Automation failure.
|
StepExecution |
withFailureMessage(String failureMessage)
If a step failed, this message explains why the execution failed.
|
StepExecution |
withInputs(Map<String,String> inputs)
Fully-resolved values passed into the step before execution.
|
StepExecution |
withOutputs(Map<String,List<String>> outputs)
Returned values from the execution of the step.
|
StepExecution |
withResponse(String response)
A message associated with the response code for an execution.
|
StepExecution |
withResponseCode(String responseCode)
The response code returned by the execution of the step.
|
StepExecution |
withStepName(String stepName)
The name of this execution step.
|
StepExecution |
withStepStatus(AutomationExecutionStatus stepStatus)
The execution status for this step.
|
StepExecution |
withStepStatus(String stepStatus)
The execution status for this step.
|
public void setStepName(String stepName)
The name of this execution step.
stepName
- The name of this execution step.public String getStepName()
The name of this execution step.
public StepExecution withStepName(String stepName)
The name of this execution step.
stepName
- The name of this execution step.public void setAction(String action)
The action this step performs. The action determines the behavior of the step.
action
- The action this step performs. The action determines the behavior of the step.public String getAction()
The action this step performs. The action determines the behavior of the step.
public StepExecution withAction(String action)
The action this step performs. The action determines the behavior of the step.
action
- The action this step performs. The action determines the behavior of the step.public void setExecutionStartTime(Date executionStartTime)
If a step has begun execution, this contains the time the step started. If the step is in Pending status, this field is not populated.
executionStartTime
- If a step has begun execution, this contains the time the step started. If the step is in Pending status,
this field is not populated.public Date getExecutionStartTime()
If a step has begun execution, this contains the time the step started. If the step is in Pending status, this field is not populated.
public StepExecution withExecutionStartTime(Date executionStartTime)
If a step has begun execution, this contains the time the step started. If the step is in Pending status, this field is not populated.
executionStartTime
- If a step has begun execution, this contains the time the step started. If the step is in Pending status,
this field is not populated.public void setExecutionEndTime(Date executionEndTime)
If a step has finished execution, this contains the time the execution ended. If the step has not yet concluded, this field is not populated.
executionEndTime
- If a step has finished execution, this contains the time the execution ended. If the step has not yet
concluded, this field is not populated.public Date getExecutionEndTime()
If a step has finished execution, this contains the time the execution ended. If the step has not yet concluded, this field is not populated.
public StepExecution withExecutionEndTime(Date executionEndTime)
If a step has finished execution, this contains the time the execution ended. If the step has not yet concluded, this field is not populated.
executionEndTime
- If a step has finished execution, this contains the time the execution ended. If the step has not yet
concluded, this field is not populated.public void setStepStatus(String stepStatus)
The execution status for this step. Valid values include: Pending, InProgress, Success, Cancelled, Failed, and TimedOut.
stepStatus
- The execution status for this step. Valid values include: Pending, InProgress, Success, Cancelled, Failed,
and TimedOut.AutomationExecutionStatus
public String getStepStatus()
The execution status for this step. Valid values include: Pending, InProgress, Success, Cancelled, Failed, and TimedOut.
AutomationExecutionStatus
public StepExecution withStepStatus(String stepStatus)
The execution status for this step. Valid values include: Pending, InProgress, Success, Cancelled, Failed, and TimedOut.
stepStatus
- The execution status for this step. Valid values include: Pending, InProgress, Success, Cancelled, Failed,
and TimedOut.AutomationExecutionStatus
public void setStepStatus(AutomationExecutionStatus stepStatus)
The execution status for this step. Valid values include: Pending, InProgress, Success, Cancelled, Failed, and TimedOut.
stepStatus
- The execution status for this step. Valid values include: Pending, InProgress, Success, Cancelled, Failed,
and TimedOut.AutomationExecutionStatus
public StepExecution withStepStatus(AutomationExecutionStatus stepStatus)
The execution status for this step. Valid values include: Pending, InProgress, Success, Cancelled, Failed, and TimedOut.
stepStatus
- The execution status for this step. Valid values include: Pending, InProgress, Success, Cancelled, Failed,
and TimedOut.AutomationExecutionStatus
public void setResponseCode(String responseCode)
The response code returned by the execution of the step.
responseCode
- The response code returned by the execution of the step.public String getResponseCode()
The response code returned by the execution of the step.
public StepExecution withResponseCode(String responseCode)
The response code returned by the execution of the step.
responseCode
- The response code returned by the execution of the step.public Map<String,String> getInputs()
Fully-resolved values passed into the step before execution.
public void setInputs(Map<String,String> inputs)
Fully-resolved values passed into the step before execution.
inputs
- Fully-resolved values passed into the step before execution.public StepExecution withInputs(Map<String,String> inputs)
Fully-resolved values passed into the step before execution.
inputs
- Fully-resolved values passed into the step before execution.public StepExecution addInputsEntry(String key, String value)
public StepExecution clearInputsEntries()
public Map<String,List<String>> getOutputs()
Returned values from the execution of the step.
public void setOutputs(Map<String,List<String>> outputs)
Returned values from the execution of the step.
outputs
- Returned values from the execution of the step.public StepExecution withOutputs(Map<String,List<String>> outputs)
Returned values from the execution of the step.
outputs
- Returned values from the execution of the step.public StepExecution addOutputsEntry(String key, List<String> value)
public StepExecution clearOutputsEntries()
public void setResponse(String response)
A message associated with the response code for an execution.
response
- A message associated with the response code for an execution.public String getResponse()
A message associated with the response code for an execution.
public StepExecution withResponse(String response)
A message associated with the response code for an execution.
response
- A message associated with the response code for an execution.public void setFailureMessage(String failureMessage)
If a step failed, this message explains why the execution failed.
failureMessage
- If a step failed, this message explains why the execution failed.public String getFailureMessage()
If a step failed, this message explains why the execution failed.
public StepExecution withFailureMessage(String failureMessage)
If a step failed, this message explains why the execution failed.
failureMessage
- If a step failed, this message explains why the execution failed.public void setFailureDetails(FailureDetails failureDetails)
Information about the Automation failure.
failureDetails
- Information about the Automation failure.public FailureDetails getFailureDetails()
Information about the Automation failure.
public StepExecution withFailureDetails(FailureDetails failureDetails)
Information about the Automation failure.
failureDetails
- Information about the Automation failure.public String toString()
toString
in class Object
Object.toString()
public StepExecution clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.