Class WorkflowStepMetadata
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WorkflowStepMetadata.Builder,WorkflowStepMetadata>
Runtime details and status for the workflow step.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringaction()The step action name.final IntegerThe current attempt number for the workflow step.static WorkflowStepMetadata.Builderbuilder()final StringDescription of the workflow step.final StringendTime()The timestamp when the workflow step 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 Stringinputs()Input parameters that Image Builder provides for the workflow step, as a JSON-encoded string.final IntegerThe maximum number of attempts allowed for the workflow step, based on the retry configuration in the workflow document.final Stringmessage()Detailed output message that the workflow step provides at runtime.final Stringname()The name of the workflow step.final Stringoutputs()The output values that the workflow step produced for this runtime instance of the workflow, as a JSON-encoded string.Reports on the rollback status of the step, if applicable.final StringReports on the rollback status of the step, if applicable.static Class<? extends WorkflowStepMetadata.Builder> final StringThe timestamp when the workflow step started.status()Runtime status for the workflow step.final StringRuntime status for the workflow step.final StringA unique identifier for the workflow step, assigned at runtime.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.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
stepExecutionId
A unique identifier for the workflow step, assigned at runtime.
- Returns:
- A unique identifier for the workflow step, assigned at runtime.
-
name
-
description
Description of the workflow step.
- Returns:
- Description of the workflow step.
-
action
-
status
Runtime status for the workflow step.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnWorkflowStepExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Runtime status for the workflow step.
- See Also:
-
statusAsString
Runtime status for the workflow step.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnWorkflowStepExecutionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Runtime status for the workflow step.
- See Also:
-
rollbackStatus
Reports on the rollback status of the step, if applicable.
If the service returns an enum value that is not available in the current SDK version,
rollbackStatuswill returnWorkflowStepExecutionRollbackStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrollbackStatusAsString().- Returns:
- Reports on the rollback status of the step, if applicable.
- See Also:
-
rollbackStatusAsString
Reports on the rollback status of the step, if applicable.
If the service returns an enum value that is not available in the current SDK version,
rollbackStatuswill returnWorkflowStepExecutionRollbackStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrollbackStatusAsString().- Returns:
- Reports on the rollback status of the step, if applicable.
- See Also:
-
message
Detailed output message that the workflow step provides at runtime.
- Returns:
- Detailed output message that the workflow step provides at runtime.
-
inputs
Input parameters that Image Builder provides for the workflow step, as a JSON-encoded string.
- Returns:
- Input parameters that Image Builder provides for the workflow step, as a JSON-encoded string.
-
outputs
The output values that the workflow step produced for this runtime instance of the workflow, as a JSON-encoded string. For example, a step that launches an instance outputs the instance ID. If the step failed, this field contains the error message.
- Returns:
- The output values that the workflow step produced for this runtime instance of the workflow, as a JSON-encoded string. For example, a step that launches an instance outputs the instance ID. If the step failed, this field contains the error message.
-
startTime
The timestamp when the workflow step started.
- Returns:
- The timestamp when the workflow step started.
-
endTime
The timestamp when the workflow step finished.
- Returns:
- The timestamp when the workflow step finished.
-
attemptNumber
The current attempt number for the workflow step. The first run is attempt one. The number increases by one for each retry.
- Returns:
- The current attempt number for the workflow step. The first run is attempt one. The number increases by one for each retry.
-
maxAttempts
The maximum number of attempts allowed for the workflow step, based on the retry configuration in the workflow document. If the step doesn't configure retries, the maximum is one attempt.
- Returns:
- The maximum number of attempts allowed for the workflow step, based on the retry configuration in the workflow document. If the step doesn't configure retries, the maximum is one attempt.
-
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<WorkflowStepMetadata.Builder,WorkflowStepMetadata> - 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.
-