@Generated(value="software.amazon.awssdk:codegen") public class StepExecution extends Object implements StructuredPojo, ToCopyableBuilder<StepExecution.Builder,StepExecution>
Detailed information about an the execution state of an Automation step.
Modifier and Type | Class and Description |
---|---|
static interface |
StepExecution.Builder |
Modifier and Type | Method and Description |
---|---|
String |
action()
The action this step performs.
|
static StepExecution.Builder |
builder() |
boolean |
equals(Object obj) |
Instant |
executionEndTime()
If a step has finished execution, this contains the time the execution ended.
|
Instant |
executionStartTime()
If a step has begun execution, this contains the time the step started.
|
FailureDetails |
failureDetails()
Information about the Automation failure.
|
String |
failureMessage()
If a step failed, this message explains why the execution failed.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Map<String,String> |
inputs()
Fully-resolved values passed into the step before execution.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Map<String,List<String>> |
outputs()
Returned values from the execution of the step.
|
String |
response()
A message associated with the response code for an execution.
|
String |
responseCode()
The response code returned by the execution of the step.
|
static Class<? extends StepExecution.Builder> |
serializableBuilderClass() |
String |
stepName()
The name of this execution step.
|
AutomationExecutionStatus |
stepStatus()
The execution status for this step.
|
String |
stepStatusAsString()
The execution status for this step.
|
StepExecution.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String stepName()
The name of this execution step.
public String action()
The action this step performs. The action determines the behavior of the step.
public Instant 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 Instant 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 AutomationExecutionStatus stepStatus()
The execution status for this step. Valid values include: Pending, InProgress, Success, Cancelled, Failed, and TimedOut.
If the service returns an enum value that is not available in the current SDK version, stepStatus
will
return AutomationExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from stepStatusAsString()
.
AutomationExecutionStatus
public String stepStatusAsString()
The execution status for this step. Valid values include: Pending, InProgress, Success, Cancelled, Failed, and TimedOut.
If the service returns an enum value that is not available in the current SDK version, stepStatus
will
return AutomationExecutionStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from stepStatusAsString()
.
AutomationExecutionStatus
public String responseCode()
The response code returned by the execution of the step.
public Map<String,String> inputs()
Fully-resolved values passed into the step before execution.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Map<String,List<String>> outputs()
Returned values from the execution of the step.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String response()
A message associated with the response code for an execution.
public String failureMessage()
If a step failed, this message explains why the execution failed.
public FailureDetails failureDetails()
Information about the Automation failure.
public StepExecution.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StepExecution.Builder,StepExecution>
public static StepExecution.Builder builder()
public static Class<? extends StepExecution.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.