Interface CallbackDetails.Builder

    • Method Detail

      • callbackId

        CallbackDetails.Builder callbackId​(String callbackId)

        The callback ID. Callback IDs are generated by the DurableContext when a durable function calls ctx.waitForCallback.

        Parameters:
        callbackId - The callback ID. Callback IDs are generated by the DurableContext when a durable function calls ctx.waitForCallback.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • result

        CallbackDetails.Builder result​(String result)

        The response payload from the callback operation as a string.

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

        CallbackDetails.Builder error​(ErrorObject error)

        An error object that contains details about the failure.

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