Interface GetAiPromptResponse.Builder

  • Method Details

    • aiPrompt

      The data of the AI Prompt.

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

      The data of the AI Prompt.

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

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

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

      GetAiPromptResponse.Builder versionNumber(Long versionNumber)

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

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