Class PipelineExecutionStep
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.PipelineExecutionStep
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PipelineExecutionStep.Builder,PipelineExecutionStep>
@Generated("software.amazon.awssdk:codegen") public final class PipelineExecutionStep extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PipelineExecutionStep.Builder,PipelineExecutionStep>
An execution of a step in a pipeline.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePipelineExecutionStep.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerattemptCount()The current attempt of the execution step.static PipelineExecutionStep.Builderbuilder()CacheHitResultcacheHitResult()If this pipeline execution step was cached, details on the cache hit.InstantendTime()The time that the step stopped executing.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfailureReason()The reason why the step failed execution.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()PipelineExecutionStepMetadatametadata()Metadata to run the pipeline step.List<SdkField<?>>sdkFields()SelectiveExecutionResultselectiveExecutionResult()The ARN from an execution of the current pipeline from which results are reused for this step.static Class<? extends PipelineExecutionStep.Builder>serializableBuilderClass()InstantstartTime()The time that the step started executing.StringstepDescription()The description of the step.StringstepDisplayName()The display name of the step.StringstepName()The name of the step that is executed.StepStatusstepStatus()The status of the step execution.StringstepStatusAsString()The status of the step execution.PipelineExecutionStep.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
stepName
public final String stepName()
The name of the step that is executed.
- Returns:
- The name of the step that is executed.
-
stepDisplayName
public final String stepDisplayName()
The display name of the step.
- Returns:
- The display name of the step.
-
stepDescription
public final String stepDescription()
The description of the step.
- Returns:
- The description of the step.
-
startTime
public final Instant startTime()
The time that the step started executing.
- Returns:
- The time that the step started executing.
-
endTime
public final Instant endTime()
The time that the step stopped executing.
- Returns:
- The time that the step stopped executing.
-
stepStatus
public final StepStatus stepStatus()
The status of the step execution.
If the service returns an enum value that is not available in the current SDK version,
stepStatuswill returnStepStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstepStatusAsString().- Returns:
- The status of the step execution.
- See Also:
StepStatus
-
stepStatusAsString
public final String stepStatusAsString()
The status of the step execution.
If the service returns an enum value that is not available in the current SDK version,
stepStatuswill returnStepStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstepStatusAsString().- Returns:
- The status of the step execution.
- See Also:
StepStatus
-
cacheHitResult
public final CacheHitResult 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
public final String 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
public final PipelineExecutionStepMetadata metadata()
Metadata to run the pipeline step.
- Returns:
- Metadata to run the pipeline step.
-
attemptCount
public final Integer 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
public final SelectiveExecutionResult 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
public PipelineExecutionStep.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PipelineExecutionStep.Builder,PipelineExecutionStep>
-
builder
public static PipelineExecutionStep.Builder builder()
-
serializableBuilderClass
public static Class<? extends PipelineExecutionStep.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.
-
-