Interface InvokeAgentRuntimeResponse.Builder

  • Method Details

    • runtimeSessionId

      InvokeAgentRuntimeResponse.Builder runtimeSessionId(String runtimeSessionId)

      The identifier of the runtime session.

      Parameters:
      runtimeSessionId - The identifier of the runtime session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sessionEndpointUrl

      InvokeAgentRuntimeResponse.Builder sessionEndpointUrl(String sessionEndpointUrl)

      The HTTPS endpoint that addresses this runtime session directly. This value is returned only when the agent runtime is configured with allowed ports and direct runtime access is available for the session. If this value is not present, use InvokeAgentRuntime to communicate with the session.

      Parameters:
      sessionEndpointUrl - The HTTPS endpoint that addresses this runtime session directly. This value is returned only when the agent runtime is configured with allowed ports and direct runtime access is available for the session. If this value is not present, use InvokeAgentRuntime to communicate with the session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mcpSessionId

      InvokeAgentRuntimeResponse.Builder mcpSessionId(String mcpSessionId)

      The identifier of the MCP session.

      Parameters:
      mcpSessionId - The identifier of the MCP session.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mcpProtocolVersion

      InvokeAgentRuntimeResponse.Builder mcpProtocolVersion(String mcpProtocolVersion)

      The version of the MCP protocol being used.

      Parameters:
      mcpProtocolVersion - The version of the MCP protocol being used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • traceId

      The trace identifier for request tracking.

      Parameters:
      traceId - The trace identifier for request tracking.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • traceParent

      InvokeAgentRuntimeResponse.Builder traceParent(String traceParent)

      The parent trace information for distributed tracing.

      Parameters:
      traceParent - The parent trace information for distributed tracing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • traceState

      The trace state information for distributed tracing.

      Parameters:
      traceState - The trace state information for distributed tracing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • baggage

      Additional context information for distributed tracing.

      Parameters:
      baggage - Additional context information for distributed tracing.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contentType

      InvokeAgentRuntimeResponse.Builder contentType(String contentType)

      The MIME type of the response data. This indicates how to interpret the response data. Common values include application/json for JSON data.

      Parameters:
      contentType - The MIME type of the response data. This indicates how to interpret the response data. Common values include application/json for JSON data.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusCode

      The HTTP status code of the response. A status code of 200 indicates a successful operation. Other status codes indicate various error conditions.

      Parameters:
      statusCode - The HTTP status code of the response. A status code of 200 indicates a successful operation. Other status codes indicate various error conditions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.