Class McpServerRemoveToolActionBuilder
java.lang.Object
com.commercetools.api.models.mcp_server.McpServerRemoveToolActionBuilder
- All Implemented Interfaces:
Builder<McpServerRemoveToolAction>
public class McpServerRemoveToolActionBuilder
extends Object
implements Builder<McpServerRemoveToolAction>
McpServerRemoveToolActionBuilder
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
McpServerRemoveToolAction mcpServerRemoveToolAction = McpServerRemoveToolAction.builder()
.tool(McpServerTool.ALL)
.build()
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()builds McpServerRemoveToolAction with checking for non-null required valuesbuilds McpServerRemoveToolAction without checking for non-null required valuesgetTool()Name of the tool to remove, such asread_productsorcreate_orders.of()factory method for an instance of McpServerRemoveToolActionBuilderof(McpServerRemoveToolAction template) create builder for McpServerRemoveToolAction instancetool(McpServerTool tool) Name of the tool to remove, such asread_productsorcreate_orders.
-
Constructor Details
-
McpServerRemoveToolActionBuilder
public McpServerRemoveToolActionBuilder()
-
-
Method Details
-
tool
Name of the tool to remove, such as
read_productsorcreate_orders.- Parameters:
tool- value to be set- Returns:
- Builder
-
getTool
Name of the tool to remove, such as
read_productsorcreate_orders.- Returns:
- tool
-
build
builds McpServerRemoveToolAction with checking for non-null required values- Specified by:
buildin interfaceBuilder<McpServerRemoveToolAction>- Returns:
- McpServerRemoveToolAction
-
buildUnchecked
builds McpServerRemoveToolAction without checking for non-null required values- Returns:
- McpServerRemoveToolAction
-
of
factory method for an instance of McpServerRemoveToolActionBuilder- Returns:
- builder
-
of
create builder for McpServerRemoveToolAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-