Class StepDetails

    • Method Detail

      • attempt

        public final Integer attempt()

        The current attempt number for this step.

        Returns:
        The current attempt number for this step.
      • nextAttemptTimestamp

        public final Instant nextAttemptTimestamp()

        The date and time when the next attempt is scheduled, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). Only populated when the step is in a pending state.

        Returns:
        The date and time when the next attempt is scheduled, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD). Only populated when the step is in a pending state.
      • result

        public final String result()

        The JSON response payload from the step operation.

        Returns:
        The JSON response payload from the step operation.
      • error

        public final ErrorObject error()

        Details about the step failure.

        Returns:
        Details about the step failure.
      • 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)