Class McpServerChangeNotification.Builder
java.lang.Object
com.github.thought2code.mcp.annotated.configuration.McpServerChangeNotification.Builder
- Enclosing class:
- McpServerChangeNotification
Builder class for
McpServerChangeNotification.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds an instance ofMcpServerChangeNotificationwith the configured values.Sets the prompt change notification flag.Sets the resource change notification flag.Sets the tool change notification flag.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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 ofMcpServerChangeNotificationwith the configured values.- Returns:
- A new instance of
McpServerChangeNotification.
-