Interface InvocationStep.Builder

    • Method Detail

      • invocationId

        InvocationStep.Builder invocationId​(String invocationId)

        The unique identifier (in UUID format) for the invocation that includes the invocation step.

        Parameters:
        invocationId - The unique identifier (in UUID format) for the invocation that includes the invocation step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • invocationStepId

        InvocationStep.Builder invocationStepId​(String invocationStepId)

        The unique identifier (in UUID format) for the invocation step.

        Parameters:
        invocationStepId - The unique identifier (in UUID format) for the invocation step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • invocationStepTime

        InvocationStep.Builder invocationStepTime​(Instant invocationStepTime)

        The timestamp for when the invocation step was created.

        Parameters:
        invocationStepTime - The timestamp for when the invocation step was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • payload

        InvocationStep.Builder payload​(InvocationStepPayload payload)

        Payload content, such as text and images, for the invocation step.

        Parameters:
        payload - Payload content, such as text and images, for the invocation step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sessionId

        InvocationStep.Builder sessionId​(String sessionId)

        The unique identifier of the session containing the invocation step.

        Parameters:
        sessionId - The unique identifier of the session containing the invocation step.
        Returns:
        Returns a reference to this object so that method calls can be chained together.