@Generated(value="software.amazon.awssdk:codegen") public final class WorkflowExecutionMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WorkflowExecutionMetadata.Builder,WorkflowExecutionMetadata>
Metadata that includes details and status from this runtime instance of the workflow.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WorkflowExecutionMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WorkflowExecutionMetadata.Builder |
builder() |
String |
endTime()
The timestamp when this runtime instance of the workflow finished.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
The runtime output message from the workflow, if applicable.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends WorkflowExecutionMetadata.Builder> |
serializableBuilderClass() |
String |
startTime()
The timestamp when the runtime instance of this workflow started.
|
WorkflowExecutionStatus |
status()
The current runtime status for this workflow.
|
String |
statusAsString()
The current runtime status for this workflow.
|
WorkflowExecutionMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
totalStepCount()
The total number of steps in the workflow.
|
Integer |
totalStepsFailed()
A runtime count for the number of steps in the workflow that failed.
|
Integer |
totalStepsSkipped()
A runtime count for the number of steps in the workflow that were skipped.
|
Integer |
totalStepsSucceeded()
A runtime count for the number of steps in the workflow that ran successfully.
|
WorkflowType |
type()
Indicates what type of workflow that Image Builder ran for this runtime instance of the workflow.
|
String |
typeAsString()
Indicates what type of workflow that Image Builder ran for this runtime instance of the workflow.
|
String |
workflowBuildVersionArn()
The Amazon Resource Name (ARN) of the workflow resource build version that ran.
|
String |
workflowExecutionId()
Unique identifier that Image Builder assigns to keep track of runtime resources each time it runs a workflow.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String workflowBuildVersionArn()
The Amazon Resource Name (ARN) of the workflow resource build version that ran.
public final String workflowExecutionId()
Unique identifier that Image Builder assigns to keep track of runtime resources each time it runs a workflow.
public final WorkflowType type()
Indicates what type of workflow that Image Builder ran for this runtime instance of the workflow.
If the service returns an enum value that is not available in the current SDK version, type will return
WorkflowType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
WorkflowTypepublic final String typeAsString()
Indicates what type of workflow that Image Builder ran for this runtime instance of the workflow.
If the service returns an enum value that is not available in the current SDK version, type will return
WorkflowType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
WorkflowTypepublic final WorkflowExecutionStatus status()
The current runtime status for this workflow.
If the service returns an enum value that is not available in the current SDK version, status will
return WorkflowExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
WorkflowExecutionStatuspublic final String statusAsString()
The current runtime status for this workflow.
If the service returns an enum value that is not available in the current SDK version, status will
return WorkflowExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
WorkflowExecutionStatuspublic final String message()
The runtime output message from the workflow, if applicable.
public final Integer totalStepCount()
The total number of steps in the workflow. This should equal the sum of the step counts for steps that succeeded, were skipped, and failed.
public final Integer totalStepsSucceeded()
A runtime count for the number of steps in the workflow that ran successfully.
public final Integer totalStepsFailed()
A runtime count for the number of steps in the workflow that failed.
public final Integer totalStepsSkipped()
A runtime count for the number of steps in the workflow that were skipped.
public final String startTime()
The timestamp when the runtime instance of this workflow started.
public final String endTime()
The timestamp when this runtime instance of the workflow finished.
public WorkflowExecutionMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WorkflowExecutionMetadata.Builder,WorkflowExecutionMetadata>public static WorkflowExecutionMetadata.Builder builder()
public static Class<? extends WorkflowExecutionMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.