Class McpServerChangeNotification.Builder

java.lang.Object
com.github.thought2code.mcp.annotated.configuration.McpServerChangeNotification.Builder
Enclosing class:
McpServerChangeNotification

public static class McpServerChangeNotification.Builder extends Object
Builder class for McpServerChangeNotification.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • resource

      public McpServerChangeNotification.Builder resource(Boolean resource)
      Sets the resource change notification flag.
      Parameters:
      resource - The resource change notification flag.
      Returns:
      This builder instance.
    • prompt

      Sets the prompt change notification flag.
      Parameters:
      prompt - The prompt change notification flag.
      Returns:
      This builder instance.
    • tool

      Sets the tool change notification flag.
      Parameters:
      tool - The tool change notification flag.
      Returns:
      This builder instance.
    • build

      Builds an instance of McpServerChangeNotification with the configured values.
      Returns:
      A new instance of McpServerChangeNotification.