Class WorkflowExecutionMetadata
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WorkflowExecutionMetadata.Builder,WorkflowExecutionMetadata>
Metadata that includes details and status from this runtime instance of the workflow.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringendTime()The timestamp when this runtime instance of the workflow finished.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringmessage()The runtime output message from the workflow, if applicable.final StringThe name of the test group that included the test workflow resource at runtime.final Booleanretried()Indicates whether a retry of the image build superseded this runtime instance of the workflow.static Class<? extends WorkflowExecutionMetadata.Builder> final StringThe timestamp when the runtime instance of this workflow started.final WorkflowExecutionStatusstatus()The current runtime status for this workflow.final StringThe current runtime status for this workflow.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final IntegerThe total number of steps that the workflow document defines for this runtime instance of the workflow.final IntegerA runtime count for the number of steps in the workflow that failed.final IntegerA runtime count for the number of steps in the workflow that were skipped.final IntegerA runtime count for the number of steps in the workflow that ran successfully.final WorkflowTypetype()Indicates what type of workflow that Image Builder ran for this runtime instance of the workflow.final StringIndicates what type of workflow that Image Builder ran for this runtime instance of the workflow.final StringThe Amazon Resource Name (ARN) of the workflow resource build version that ran.final StringUnique identifier that Image Builder assigns to keep track of runtime resources each time it runs a workflow.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
workflowBuildVersionArn
The Amazon Resource Name (ARN) of the workflow resource build version that ran.
- Returns:
- The Amazon Resource Name (ARN) of the workflow resource build version that ran.
-
workflowExecutionId
Unique identifier that Image Builder assigns to keep track of runtime resources each time it runs a workflow.
- Returns:
- Unique identifier that Image Builder assigns to keep track of runtime resources each time it runs a workflow.
-
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,
typewill returnWorkflowType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Indicates what type of workflow that Image Builder ran for this runtime instance of the workflow.
- See Also:
-
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,
typewill returnWorkflowType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Indicates what type of workflow that Image Builder ran for this runtime instance of the workflow.
- See Also:
-
status
The current runtime status for this workflow.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnWorkflowExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current runtime status for this workflow.
- See Also:
-
statusAsString
The current runtime status for this workflow.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnWorkflowExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current runtime status for this workflow.
- See Also:
-
message
The runtime output message from the workflow, if applicable.
- Returns:
- The runtime output message from the workflow, if applicable.
-
totalStepCount
The total number of steps that the workflow document defines for this runtime instance of the workflow. Image Builder sets this count before any steps run. The sum of succeeded, skipped, and failed steps only reaches this total if every step finishes in one of those states.
- Returns:
- The total number of steps that the workflow document defines for this runtime instance of the workflow. Image Builder sets this count before any steps run. The sum of succeeded, skipped, and failed steps only reaches this total if every step finishes in one of those states.
-
totalStepsSucceeded
A runtime count for the number of steps in the workflow that ran successfully.
- Returns:
- A runtime count for the number of steps in the workflow that ran successfully.
-
totalStepsFailed
A runtime count for the number of steps in the workflow that failed.
- Returns:
- A runtime count for the number of steps in the workflow that failed.
-
totalStepsSkipped
A runtime count for the number of steps in the workflow that were skipped.
- Returns:
- A runtime count for the number of steps in the workflow that were skipped.
-
startTime
The timestamp when the runtime instance of this workflow started.
- Returns:
- The timestamp when the runtime instance of this workflow started.
-
endTime
The timestamp when this runtime instance of the workflow finished.
- Returns:
- The timestamp when this runtime instance of the workflow finished.
-
parallelGroup
The name of the test group that included the test workflow resource at runtime.
- Returns:
- The name of the test group that included the test workflow resource at runtime.
-
retried
Indicates whether a retry of the image build superseded this runtime instance of the workflow. When you retry a failed image build, Image Builder sets this flag to
trueon the original workflow executions that the retry re-ran.- Returns:
- Indicates whether a retry of the image build superseded this runtime instance of the workflow. When you
retry a failed image build, Image Builder sets this flag to
trueon the original workflow executions that the retry re-ran.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<WorkflowExecutionMetadata.Builder,WorkflowExecutionMetadata> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-