Interface GetAiAgentResponse.Builder

  • Method Details

    • aiAgent

      The data of the AI Agent.

      Parameters:
      aiAgent - The data of the AI Agent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aiAgent

      The data of the AI Agent.

      This is a convenience method that creates an instance of the AIAgentData.Builder avoiding the need to create one manually via AIAgentData.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to aiAgent(AIAgentData).

      Parameters:
      aiAgent - a consumer that will call methods on AIAgentData.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • versionNumber

      GetAiAgentResponse.Builder versionNumber(Long versionNumber)

      The version number of the AI Agent version (returned if an AI Agent version was specified via use of a qualifier for the aiAgentId on the request).

      Parameters:
      versionNumber - The version number of the AI Agent version (returned if an AI Agent version was specified via use of a qualifier for the aiAgentId on the request).
      Returns:
      Returns a reference to this object so that method calls can be chained together.