Interface StepDetails.Builder

    • Method Detail

      • attempt

        StepDetails.Builder attempt​(Integer attempt)

        The current attempt number for this step.

        Parameters:
        attempt - The current attempt number for this step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextAttemptTimestamp

        StepDetails.Builder nextAttemptTimestamp​(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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • result

        StepDetails.Builder result​(String result)

        The JSON response payload from the step operation.

        Parameters:
        result - The JSON response payload from the step operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • error

        StepDetails.Builder error​(ErrorObject error)

        Details about the step failure.

        Parameters:
        error - Details about the step failure.
        Returns:
        Returns a reference to this object so that method calls can be chained together.