Class WorkflowExecutionMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.imagebuilder.model.WorkflowExecutionMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WorkflowExecutionMetadata.Builder,WorkflowExecutionMetadata>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWorkflowExecutionMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WorkflowExecutionMetadata.Builderbuilder()StringendTime()The timestamp when this runtime instance of the workflow finished.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmessage()The runtime output message from the workflow, if applicable.StringparallelGroup()The name of the test group that included the test workflow resource at runtime.List<SdkField<?>>sdkFields()static Class<? extends WorkflowExecutionMetadata.Builder>serializableBuilderClass()StringstartTime()The timestamp when the runtime instance of this workflow started.WorkflowExecutionStatusstatus()The current runtime status for this workflow.StringstatusAsString()The current runtime status for this workflow.WorkflowExecutionMetadata.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegertotalStepCount()The total number of steps in the workflow.IntegertotalStepsFailed()A runtime count for the number of steps in the workflow that failed.IntegertotalStepsSkipped()A runtime count for the number of steps in the workflow that were skipped.IntegertotalStepsSucceeded()A runtime count for the number of steps in the workflow that ran successfully.WorkflowTypetype()Indicates what type of workflow that Image Builder ran for this runtime instance of the workflow.StringtypeAsString()Indicates what type of workflow that Image Builder ran for this runtime instance of the workflow.StringworkflowBuildVersionArn()The Amazon Resource Name (ARN) of the workflow resource build version that ran.StringworkflowExecutionId()Unique identifier that Image Builder assigns to keep track of runtime resources each time it runs a workflow.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
workflowBuildVersionArn
public final String 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
public final String 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
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,
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:
WorkflowType
-
typeAsString
public 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,
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:
WorkflowType
-
status
public 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,
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:
WorkflowExecutionStatus
-
statusAsString
public 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,
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:
WorkflowExecutionStatus
-
message
public final String message()
The runtime output message from the workflow, if applicable.
- Returns:
- The runtime output message from the workflow, if applicable.
-
totalStepCount
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.
- Returns:
- 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.
-
totalStepsSucceeded
public final Integer 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
public final Integer 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
public final Integer 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
public final String startTime()
The timestamp when the runtime instance of this workflow started.
- Returns:
- The timestamp when the runtime instance of this workflow started.
-
endTime
public final String endTime()
The timestamp when this runtime instance of the workflow finished.
- Returns:
- The timestamp when this runtime instance of the workflow finished.
-
parallelGroup
public final String 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.
-
toBuilder
public WorkflowExecutionMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WorkflowExecutionMetadata.Builder,WorkflowExecutionMetadata>
-
builder
public static WorkflowExecutionMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends WorkflowExecutionMetadata.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-