Interface AgenticContextMetadata.Builder

  • Method Details

    • id

      The identifier of the context.

      Parameters:
      id - The identifier of the context.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the context.

      Parameters:
      name - The name of the context.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      AgenticContextMetadata.Builder description(String description)

      The description of the context.

      Parameters:
      description - The description of the context.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contextType

      AgenticContextMetadata.Builder contextType(String contextType)

      The type of the context. Valid values:

      • STEERING – Guidance that shapes how the agent behaves.

      • SKILL – A reusable capability that the agent can use.

      • WORKFLOW – A multi-step procedure that the agent follows.

      Parameters:
      contextType - The type of the context. Valid values:

      • STEERING – Guidance that shapes how the agent behaves.

      • SKILL – A reusable capability that the agent can use.

      • WORKFLOW – A multi-step procedure that the agent follows.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • contextType

      The type of the context. Valid values:

      • STEERING – Guidance that shapes how the agent behaves.

      • SKILL – A reusable capability that the agent can use.

      • WORKFLOW – A multi-step procedure that the agent follows.

      Parameters:
      contextType - The type of the context. Valid values:

      • STEERING – Guidance that shapes how the agent behaves.

      • SKILL – A reusable capability that the agent can use.

      • WORKFLOW – A multi-step procedure that the agent follows.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • targetFilePath

      AgenticContextMetadata.Builder targetFilePath(String targetFilePath)

      The name of the Markdown file that the context is written to on the WorkSpace, for example code-review.md.

      Parameters:
      targetFilePath - The name of the Markdown file that the context is written to on the WorkSpace, for example code-review.md.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • contextBodySizeBytes

      AgenticContextMetadata.Builder contextBodySizeBytes(Integer contextBodySizeBytes)

      The size of the context body, in UTF-8 bytes.

      Parameters:
      contextBodySizeBytes - The size of the context body, in UTF-8 bytes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      The time when the context was created.

      Parameters:
      createdAt - The time when the context was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      The time when the context was last updated.

      Parameters:
      updatedAt - The time when the context was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.