Class PipelineExecutionStep
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<PipelineExecutionStep.Builder,
PipelineExecutionStep>
An execution of a step in a pipeline.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Integer
The current attempt of the execution step.builder()
final CacheHitResult
If this pipeline execution step was cached, details on the cache hit.final Instant
endTime()
The time that the step stopped executing.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
The reason why the step failed execution.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
metadata()
Metadata to run the pipeline step.final SelectiveExecutionResult
The ARN from an execution of the current pipeline from which results are reused for this step.static Class
<? extends PipelineExecutionStep.Builder> final Instant
The time that the step started executing.final String
The description of the step.final String
The display name of the step.final String
stepName()
The name of the step that is executed.final StepStatus
The status of the step execution.final String
The status of the step execution.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
stepName
The name of the step that is executed.
- Returns:
- The name of the step that is executed.
-
stepDisplayName
The display name of the step.
- Returns:
- The display name of the step.
-
stepDescription
The description of the step.
- Returns:
- The description of the step.
-
startTime
The time that the step started executing.
- Returns:
- The time that the step started executing.
-
endTime
The time that the step stopped executing.
- Returns:
- The time that the step stopped executing.
-
stepStatus
The status of the step execution.
If the service returns an enum value that is not available in the current SDK version,
stepStatus
will returnStepStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstepStatusAsString()
.- Returns:
- The status of the step execution.
- See Also:
-
stepStatusAsString
The status of the step execution.
If the service returns an enum value that is not available in the current SDK version,
stepStatus
will returnStepStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstepStatusAsString()
.- Returns:
- The status of the step execution.
- See Also:
-
cacheHitResult
If this pipeline execution step was cached, details on the cache hit.
- Returns:
- If this pipeline execution step was cached, details on the cache hit.
-
failureReason
The reason why the step failed execution. This is only returned if the step failed its execution.
- Returns:
- The reason why the step failed execution. This is only returned if the step failed its execution.
-
metadata
Metadata to run the pipeline step.
- Returns:
- Metadata to run the pipeline step.
-
attemptCount
The current attempt of the execution step. For more information, see Retry Policy for SageMaker Pipelines steps.
- Returns:
- The current attempt of the execution step. For more information, see Retry Policy for SageMaker Pipelines steps.
-
selectiveExecutionResult
The ARN from an execution of the current pipeline from which results are reused for this step.
- Returns:
- The ARN from an execution of the current pipeline from which results are reused for this step.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<PipelineExecutionStep.Builder,
PipelineExecutionStep> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
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. -
getValueForField
-
sdkFields
-