CopyableBuilder<StepExecution.Builder,StepExecution>
, SdkBuilder<StepExecution.Builder,StepExecution>
public static interface StepExecution.Builder extends CopyableBuilder<StepExecution.Builder,StepExecution>
Modifier and Type | Method | Description |
---|---|---|
StepExecution.Builder |
action(String action) |
The action this step performs.
|
StepExecution.Builder |
executionEndTime(Date executionEndTime) |
If a step has finished execution, this contains the time the execution ended.
|
StepExecution.Builder |
executionStartTime(Date executionStartTime) |
If a step has begun execution, this contains the time the step started.
|
StepExecution.Builder |
failureDetails(FailureDetails failureDetails) |
Information about the Automation failure.
|
StepExecution.Builder |
failureMessage(String failureMessage) |
If a step failed, this message explains why the execution failed.
|
StepExecution.Builder |
inputs(Map<String,String> inputs) |
Fully-resolved values passed into the step before execution.
|
StepExecution.Builder |
outputs(Map<String,? extends Collection<String>> outputs) |
Returned values from the execution of the step.
|
StepExecution.Builder |
response(String response) |
A message associated with the response code for an execution.
|
StepExecution.Builder |
responseCode(String responseCode) |
The response code returned by the execution of the step.
|
StepExecution.Builder |
stepName(String stepName) |
The name of this execution step.
|
StepExecution.Builder |
stepStatus(String stepStatus) |
The execution status for this step.
|
StepExecution.Builder |
stepStatus(AutomationExecutionStatus stepStatus) |
The execution status for this step.
|
copy
apply, build
StepExecution.Builder stepName(String stepName)
The name of this execution step.
stepName
- The name of this execution step.StepExecution.Builder action(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.StepExecution.Builder executionStartTime(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.StepExecution.Builder executionEndTime(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.StepExecution.Builder stepStatus(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
StepExecution.Builder stepStatus(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
StepExecution.Builder responseCode(String responseCode)
The response code returned by the execution of the step.
responseCode
- The response code returned by the execution of the step.StepExecution.Builder inputs(Map<String,String> inputs)
Fully-resolved values passed into the step before execution.
inputs
- Fully-resolved values passed into the step before execution.StepExecution.Builder outputs(Map<String,? extends Collection<String>> outputs)
Returned values from the execution of the step.
outputs
- Returned values from the execution of the step.StepExecution.Builder response(String response)
A message associated with the response code for an execution.
response
- A message associated with the response code for an execution.StepExecution.Builder failureMessage(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.StepExecution.Builder failureDetails(FailureDetails failureDetails)
Information about the Automation failure.
failureDetails
- Information about the Automation failure.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.