Class PipelineExecutionStep

    • 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, stepStatus will return StepStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from stepStatusAsString().

        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, stepStatus will return StepStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from stepStatusAsString().

        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.
      • 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.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)