@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 |
addOverriddenParametersEntry(String key,
List<String> value) |
StepExecution |
clearInputsEntries()
Removes all the entries added into Inputs.
|
StepExecution |
clearOutputsEntries()
Removes all the entries added into Outputs.
|
StepExecution |
clearOverriddenParametersEntries()
Removes all the entries added into OverriddenParameters.
|
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.
|
Integer |
getMaxAttempts()
The maximum number of tries to run the action of the step.
|
String |
getOnFailure()
The action to take if the step fails.
|
Map<String,List<String>> |
getOutputs()
Returned values from the execution of the step.
|
Map<String,List<String>> |
getOverriddenParameters()
A user-specified list of parameters to override when executing a 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 |
getStepExecutionId()
The unique ID of a step execution.
|
String |
getStepName()
The name of this execution step.
|
String |
getStepStatus()
The execution status for this step.
|
Long |
getTimeoutSeconds()
The timeout seconds of the 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 |
setMaxAttempts(Integer maxAttempts)
The maximum number of tries to run the action of the step.
|
void |
setOnFailure(String onFailure)
The action to take if the step fails.
|
void |
setOutputs(Map<String,List<String>> outputs)
Returned values from the execution of the step.
|
void |
setOverriddenParameters(Map<String,List<String>> overriddenParameters)
A user-specified list of parameters to override when executing a 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 |
setStepExecutionId(String stepExecutionId)
The unique ID of a step execution.
|
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.
|
void |
setTimeoutSeconds(Long timeoutSeconds)
The timeout seconds of the 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 |
withMaxAttempts(Integer maxAttempts)
The maximum number of tries to run the action of the step.
|
StepExecution |
withOnFailure(String onFailure)
The action to take if the step fails.
|
StepExecution |
withOutputs(Map<String,List<String>> outputs)
Returned values from the execution of the step.
|
StepExecution |
withOverriddenParameters(Map<String,List<String>> overriddenParameters)
A user-specified list of parameters to override when executing a 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 |
withStepExecutionId(String stepExecutionId)
The unique ID of a step execution.
|
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.
|
StepExecution |
withTimeoutSeconds(Long timeoutSeconds)
The timeout seconds of the 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 setTimeoutSeconds(Long timeoutSeconds)
The timeout seconds of the step.
timeoutSeconds
- The timeout seconds of the step.public Long getTimeoutSeconds()
The timeout seconds of the step.
public StepExecution withTimeoutSeconds(Long timeoutSeconds)
The timeout seconds of the step.
timeoutSeconds
- The timeout seconds of the step.public void setOnFailure(String onFailure)
The action to take if the step fails. The default value is Abort.
onFailure
- The action to take if the step fails. The default value is Abort.public String getOnFailure()
The action to take if the step fails. The default value is Abort.
public StepExecution withOnFailure(String onFailure)
The action to take if the step fails. The default value is Abort.
onFailure
- The action to take if the step fails. The default value is Abort.public void setMaxAttempts(Integer maxAttempts)
The maximum number of tries to run the action of the step. The default value is 1.
maxAttempts
- The maximum number of tries to run the action of the step. The default value is 1.public Integer getMaxAttempts()
The maximum number of tries to run the action of the step. The default value is 1.
public StepExecution withMaxAttempts(Integer maxAttempts)
The maximum number of tries to run the action of the step. The default value is 1.
maxAttempts
- The maximum number of tries to run the action of the step. The default value is 1.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 void setStepExecutionId(String stepExecutionId)
The unique ID of a step execution.
stepExecutionId
- The unique ID of a step execution.public String getStepExecutionId()
The unique ID of a step execution.
public StepExecution withStepExecutionId(String stepExecutionId)
The unique ID of a step execution.
stepExecutionId
- The unique ID of a step execution.public Map<String,List<String>> getOverriddenParameters()
A user-specified list of parameters to override when executing a step.
public void setOverriddenParameters(Map<String,List<String>> overriddenParameters)
A user-specified list of parameters to override when executing a step.
overriddenParameters
- A user-specified list of parameters to override when executing a step.public StepExecution withOverriddenParameters(Map<String,List<String>> overriddenParameters)
A user-specified list of parameters to override when executing a step.
overriddenParameters
- A user-specified list of parameters to override when executing a step.public StepExecution addOverriddenParametersEntry(String key, List<String> value)
public StepExecution clearOverriddenParametersEntries()
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.